diff options
author | hjk <hjk@qt.io> | 2023-09-22 16:15:27 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-09-27 13:25:31 +0000 |
commit | 342e066886ff4d472d9e07eb1f5702a548ac3e6e (patch) | |
tree | af6b09b98c68140e50d752f9da37f74d9736e722 /src/app/main.cpp | |
parent | 4629b0f69ec4320b1ac6d8006b2f1957d5024683 (diff) |
Utils, all: Standardize on QtcSettings
Change-Id: Id222016f15b1c3bfe6710fe5d0297666d4565ef1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r-- | src/app/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index 8a433d28d9..49f0a10a6a 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -283,7 +283,7 @@ static void setHighDpiEnvironmentVariable() if (Utils::HostOsInfo::isMacHost() || qEnvironmentVariableIsSet("QT_SCALE_FACTOR_ROUNDING_POLICY")) return; - std::unique_ptr<QSettings> settings(createUserSettings()); + std::unique_ptr<Utils::QtcSettings> settings(createUserSettings()); const bool defaultValue = Utils::HostOsInfo::isWindowsHost(); const bool enableHighDpiScaling = settings->value("Core/EnableHighDpiScaling", defaultValue).toBool(); @@ -413,7 +413,7 @@ QStringList lastSessionArgument() // and src\tools\qml2puppet\qml2puppet\qmlpuppet.cpp -> QString crashReportsPath() QString crashReportsPath() { - std::unique_ptr<QSettings> settings(createUserSettings()); + std::unique_ptr<Utils::QtcSettings> settings(createUserSettings()); QFileInfo(settings->fileName()).path() + "/crashpad_reports"; if (Utils::HostOsInfo::isMacHost()) return QFileInfo(createUserSettings()->fileName()).path() + "/crashpad_reports"; |