aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2023-08-30 07:39:54 +0200
committerhjk <[email protected]>2023-08-30 07:38:02 +0000
commitc7710acadd781e082f66ba389facaef3f5dce41b (patch)
tree4df503f115d7899d8883453c7090a6bff0e09722 /src/plugins/debugger/debuggerplugin.cpp
parent922da1fbb3d0480e78080c53a87550a694b9664e (diff)
Utils: Use Key more widely in QtcSettings
And adapt user code. Change-Id: I6efe4ebe6823de4cc862f304a57e041b02c40eac Reviewed-by: Marcus Tillmanns <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 42c5244cd57..f155365bd7e 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -1477,12 +1477,12 @@ void DebuggerPluginPrivate::parseCommandLineArguments()
QTimer::singleShot(0, this, &DebuggerPluginPrivate::runScheduled);
}
-static void setConfigValue(const QString &name, const QVariant &value)
+static void setConfigValue(const Key &name, const QVariant &value)
{
ICore::settings()->setValue("DebugMode/" + name, value);
}
-static QVariant configValue(const QString &name)
+static QVariant configValue(const Key &name)
{
return ICore::settings()->value("DebugMode/" + name);
}
@@ -1658,7 +1658,7 @@ void DebuggerPluginPrivate::reloadDebuggingHelpers()
void DebuggerPluginPrivate::startRemoteCdbSession()
{
- const QString connectionKey = "CdbRemoteConnection";
+ const Key connectionKey = "CdbRemoteConnection";
Kit *kit = findUniversalCdbKit();
QTC_ASSERT(kit, return);