summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtest.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-08-29 22:28:34 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-08-31 14:29:01 +0200
commit2dc46c09026362cc267b1183faf09fb29479ef93 (patch)
tree7da9a47745e2fdb213ffa5830f4c867c0c25cd61 /src/testlib/qtest.h
parent8adb0dde1984438d52de4bcb610e4139558bd1a0 (diff)
Deprecate and remove all uses of AA_UseHighDpiPixmaps
High-DPI pixmaps are always enabled, and cannot be disabled. Change-Id: I01a006b404e5431582b64ef812974c1c022b39ae Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/testlib/qtest.h')
-rw-r--r--src/testlib/qtest.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/testlib/qtest.h b/src/testlib/qtest.h
index 935fbf9b05..fa439130d9 100644
--- a/src/testlib/qtest.h
+++ b/src/testlib/qtest.h
@@ -466,7 +466,6 @@ bool compareSequence(ActualIterator actualIt, ActualIterator actualEnd,
void disableHighDpi()
{
QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
- QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, false);
}
Q_CONSTRUCTOR_FUNCTION(disableHighDpi);
#endif