summaryrefslogtreecommitdiff
path: root/tests/auto/qx11info/tst_qx11info.cpp
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@digia.com>2014-04-01 11:47:57 +0300
committerIikka Eklund <iikka.eklund@digia.com>2014-04-01 11:47:57 +0300
commit437c68fbff0f5b92272acd3fd6ef6ff7a1ad8e8e (patch)
treed0a9fac3e396f90ba3759af24811f1aaccfb8eff /tests/auto/qx11info/tst_qx11info.cpp
parent29e29b42af59c4200051220b21d65a3bc54154a1 (diff)
parent947361a7dc8db093d0b8e1ec5ac953470a180259 (diff)
downloadqtx11extras-437c68fbff0f5b92272acd3fd6ef6ff7a1ad8e8e.tar.gz
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I5e71d0948a944085be782f8a2108bc875d31db51
Diffstat (limited to 'tests/auto/qx11info/tst_qx11info.cpp')
-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);