Commit a0e0a125 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlProfiler: Also store sysroot in settings



Change-Id: I323798b47d5f7fcdf8ad70ee3def89814a6522e9
Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent b1b4cccc
......@@ -513,11 +513,13 @@ static void startRemoteTool(IAnalyzerTool *tool, StartMode mode)
host = settings->value(QLatin1String("AnalyzerQmlAttachDialog/host"), QLatin1String("localhost")).toString();
port = settings->value(QLatin1String("AnalyzerQmlAttachDialog/port"), 3768).toInt();
sysroot = settings->value(QLatin1String("AnalyzerQmlAttachDialog/sysroot")).toString();
QmlProfilerAttachDialog dialog;
dialog.setAddress(host);
dialog.setPort(port);
dialog.setSysroot(sysroot);
if (dialog.exec() != QDialog::Accepted)
return;
......@@ -528,6 +530,7 @@ static void startRemoteTool(IAnalyzerTool *tool, StartMode mode)
settings->setValue(QLatin1String("AnalyzerQmlAttachDialog/host"), host);
settings->setValue(QLatin1String("AnalyzerQmlAttachDialog/port"), port);
settings->setValue(QLatin1String("AnalyzerQmlAttachDialog/sysroot"), sysroot);
}
AnalyzerStartParameters sp;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment