diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-06-01 13:06:14 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-06-01 11:21:29 +0000 |
commit | 88c8a4f961076bed826fc011de19dd711c6160c4 (patch) | |
tree | 6e8c1ef535ec2cfe46d3b42e9eb53aac86e4e128 /src/gui/kernel/qhighdpiscaling_p.h | |
parent | b970d03863e88b4aa3c26149bce3511174faadbd (diff) |
usePixelDensity and perScreenActive are different concepts
Previously, setting a scale factor on a screen would also
turn on pixel density scaling. Scaling everything twice is not
twice as good...
Change-Id: I617b76a717c8f83089d534604b3596754c42dad4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qhighdpiscaling_p.h')
-rw-r--r-- | src/gui/kernel/qhighdpiscaling_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qhighdpiscaling_p.h b/src/gui/kernel/qhighdpiscaling_p.h index a5d4c40a07..827c21ad5c 100644 --- a/src/gui/kernel/qhighdpiscaling_p.h +++ b/src/gui/kernel/qhighdpiscaling_p.h @@ -101,6 +101,7 @@ private: static qreal m_factor; static bool m_active; static bool m_perScreenActive; + static bool m_usePixelDensity; }; // Coordinate system conversion functions: |