aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilertool.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2023-09-22 16:15:27 +0200
committerhjk <[email protected]>2023-09-27 13:25:31 +0000
commit342e066886ff4d472d9e07eb1f5702a548ac3e6e (patch)
treeaf6b09b98c68140e50d752f9da37f74d9736e722 /src/plugins/qmlprofiler/qmlprofilertool.cpp
parent4629b0f69ec4320b1ac6d8006b2f1957d5024683 (diff)
Utils, all: Standardize on QtcSettings
Change-Id: Id222016f15b1c3bfe6710fe5d0297666d4565ef1 Reviewed-by: Marcus Tillmanns <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertool.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertool.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp
index ecb064c851f..ea02239a64e 100644
--- a/src/plugins/qmlprofiler/qmlprofilertool.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp
@@ -569,10 +569,10 @@ ProjectExplorer::RunControl *QmlProfilerTool::attachToWaitingApplication()
Kit *kit = nullptr;
{
- QSettings *settings = ICore::settings();
+ QtcSettings *settings = ICore::settings();
- kitId = Id::fromSetting(settings->value(QLatin1String("AnalyzerQmlAttachDialog/kitId")));
- port = settings->value(QLatin1String("AnalyzerQmlAttachDialog/port"), 3768).toInt();
+ kitId = Id::fromSetting(settings->value("AnalyzerQmlAttachDialog/kitId"));
+ port = settings->value("AnalyzerQmlAttachDialog/port", 3768).toInt();
QmlProfilerAttachDialog dialog;
@@ -587,8 +587,8 @@ ProjectExplorer::RunControl *QmlProfilerTool::attachToWaitingApplication()
QTC_ASSERT(port >= 0, return nullptr);
QTC_ASSERT(port <= std::numeric_limits<quint16>::max(), return nullptr);
- settings->setValue(QLatin1String("AnalyzerQmlAttachDialog/kitId"), kit->id().toSetting());
- settings->setValue(QLatin1String("AnalyzerQmlAttachDialog/port"), port);
+ settings->setValue("AnalyzerQmlAttachDialog/kitId", kit->id().toSetting());
+ settings->setValue("AnalyzerQmlAttachDialog/port", port);
}
QUrl serverUrl;