summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qx11info/tst_qx11info.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/auto/qx11info/tst_qx11info.cpp b/tests/auto/qx11info/tst_qx11info.cpp
index ab741be..602de1d 100644
--- a/tests/auto/qx11info/tst_qx11info.cpp
+++ b/tests/auto/qx11info/tst_qx11info.cpp
@@ -97,17 +97,6 @@ void tst_QX11Info::staticFunctionsBeforeQApplication()
QCOMPARE(appDpiX, 75);
QCOMPARE(appDpiY, 75);
-#if 0
- // the setAppDpi{X,Y} calls do nothing if QApplication hasn't been
- // constructed
- QX11Info::setAppDpiX(-1, 120);
- QX11Info::setAppDpiY(-1, 120);
- appDpiX = QX11Info::appDpiX();
- appDpiY = QX11Info::appDpiY();
- QCOMPARE(appDpiX, 75);
- QCOMPARE(appDpiY, 75);
-#endif
-
unsigned long appTime = QX11Info::appTime();
unsigned long appUserTime = QX11Info::appUserTime();
QCOMPARE(appTime, 0ul);