summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Ahumada <sahumada@blackberry.com>2014-03-28 15:32:57 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-28 15:49:31 (GMT)
commit947361a7dc8db093d0b8e1ec5ac953470a180259 (patch)
treeb9f2e35c31ade1dfc1f79727bf4dfb5cec3daad4
parentd49d4e18a22f41379d391fd8405c5e61cb4acc45 (diff)
downloadqtx11extras-947361a7dc8db093d0b8e1ec5ac953470a180259.tar.gz
test: Remove dead code around QX11Info::setAppDpi{X,Y}v5.3.0-rc1v5.3.0release5.3.0
These functions don't exist for QX11Info. Change-Id: Icb9a4b28c1f97ac8d59c93a29633547c84f6589c Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by: David Faure <david.faure@kdab.com>
-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);