summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qhighdpiscaling.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2014-12-01 09:19:39 +0100
committerMorten Johan Sørvig <morten.sorvig@digia.com>2015-03-26 11:01:26 +0100
commit31a3822eac1687d53b0ee30e94a60ed82e53e87b (patch)
treeeb24fa02b8d705fa390482e60e8d50830112ca9f /src/gui/kernel/qhighdpiscaling.cpp
parentbf27bca43cc9971f99ee24988593c7d7afd50e71 (diff)
WIP: Read QT_SCALE_FACTOR env. variable
Drop the "HIGHDPI" term Change-Id: I55cb4de34f302dee7897d70ce6693fea9d66926f
Diffstat (limited to 'src/gui/kernel/qhighdpiscaling.cpp')
-rw-r--r--src/gui/kernel/qhighdpiscaling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qhighdpiscaling.cpp b/src/gui/kernel/qhighdpiscaling.cpp
index 9d563a9c74..c76ac9b590 100644
--- a/src/gui/kernel/qhighdpiscaling.cpp
+++ b/src/gui/kernel/qhighdpiscaling.cpp
@@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
static inline qreal initialScaleFactor()
{
- static const char envVar[] = "QT_HIGHDPI_SCALE_FACTOR";
+ static const char envVar[] = "QT_SCALE_FACTOR";
qreal result = 1;
if (qEnvironmentVariableIsSet(envVar)) {
bool ok;