aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r--src/app/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index bedbb5d39c9..b555596f875 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -283,7 +283,7 @@ static void setHighDpiEnvironmentVariable()
{
if (Utils::StyleHelper::defaultHighDpiScaleFactorRoundingPolicy()
== Qt::HighDpiScaleFactorRoundingPolicy::Unset
- || qEnvironmentVariableIsSet("QT_SCALE_FACTOR_ROUNDING_POLICY"))
+ || qEnvironmentVariableIsSet(Utils::StyleHelper::C_QT_SCALE_FACTOR_ROUNDING_POLICY))
return;
std::unique_ptr<Utils::QtcSettings> settings(createUserSettings());