summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-30 23:04:21 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-06-28 16:15:14 +0000
commit7f62c5fedc4a677fd9d9b002c4dfb9fd52a8a1a3 (patch)
treec0a138148fa99dee1f8e6a3476d49c71a80788fe /tests/auto
parent5ede5706a8b8052280981aa1d9c42999a24b74b5 (diff)
Convert features.tabletevent to QT_CONFIG
Change-Id: Ibd7ed7f269a64afddadee70979b20f1c58398378 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/gui/kernel/qwindow/tst_qwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
index 4cccf08086..92f7182249 100644
--- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
+++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
@@ -1644,7 +1644,7 @@ void tst_QWindow::inputReentrancy()
QCOMPARE(window.touchReleasedCount, 1);
}
-#ifndef QT_NO_TABLETEVENT
+#if QT_CONFIG(tabletevent)
class TabletTestWindow : public QWindow
{
public:
@@ -1672,7 +1672,7 @@ public:
void tst_QWindow::tabletEvents()
{
-#ifndef QT_NO_TABLETEVENT
+#if QT_CONFIG(tabletevent)
TabletTestWindow window;
window.setGeometry(QRect(m_availableTopLeft + QPoint(10, 10), m_testWindowSize));
qGuiApp->installEventFilter(&window);