forked from qt-creator/qt-creator
Utils: Use Key more widely in QtcSettings
And adapt user code. Change-Id: I6efe4ebe6823de4cc862f304a57e041b02c40eac Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user