diff options
author | hjk <[email protected]> | 2023-09-22 16:15:27 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2023-09-27 13:25:31 +0000 |
commit | 342e066886ff4d472d9e07eb1f5702a548ac3e6e (patch) | |
tree | af6b09b98c68140e50d752f9da37f74d9736e722 /src/plugins/qmlprojectmanager/qmlprojectplugin.cpp | |
parent | 4629b0f69ec4320b1ac6d8006b2f1957d5024683 (diff) |
Utils, all: Standardize on QtcSettings
Change-Id: Id222016f15b1c3bfe6710fe5d0297666d4565ef1
Reviewed-by: Marcus Tillmanns <[email protected]>
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectplugin.cpp')
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlprojectplugin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp index 2876c3c366a..7c12e312b10 100644 --- a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp +++ b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp @@ -41,6 +41,7 @@ #include <utils/fileutils.h> #include <utils/fsengine/fileiconprovider.h> #include <utils/process.h> +#include <utils/qtcsettings.h> #include <QAction> #include <QDesktopServices> @@ -50,6 +51,7 @@ #include <QTimer> using namespace ProjectExplorer; +using namespace Utils; namespace QmlProjectManager::Internal { @@ -131,8 +133,8 @@ void QmlProjectPlugin::openQDS(const Utils::FilePath &fileName) Utils::FilePath QmlProjectPlugin::qdsInstallationEntry() { - QSettings *settings = Core::ICore::settings(); - const QString qdsInstallationEntry = "QML/Designer/DesignStudioInstallation"; //set in installer + QtcSettings *settings = Core::ICore::settings(); + const Key qdsInstallationEntry = "QML/Designer/DesignStudioInstallation"; //set in installer return Utils::FilePath::fromUserInput(settings->value(qdsInstallationEntry).toString()); } |