diff options
Diffstat (limited to 'tests/auto/quick/pointerhandlers/qquicktaphandler/tst_qquicktaphandler.cpp')
-rw-r--r-- | tests/auto/quick/pointerhandlers/qquicktaphandler/tst_qquicktaphandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/quick/pointerhandlers/qquicktaphandler/tst_qquicktaphandler.cpp b/tests/auto/quick/pointerhandlers/qquicktaphandler/tst_qquicktaphandler.cpp index 419afed3ac..32a68293c2 100644 --- a/tests/auto/quick/pointerhandlers/qquicktaphandler/tst_qquicktaphandler.cpp +++ b/tests/auto/quick/pointerhandlers/qquicktaphandler/tst_qquicktaphandler.cpp @@ -51,7 +51,6 @@ class tst_TapHandler : public QQmlDataTest Q_OBJECT public: tst_TapHandler() - :touchDevice(QTest::createTouchDevice()) {} private slots: @@ -74,7 +73,7 @@ private slots: private: void createView(QScopedPointer<QQuickView> &window, const char *fileName); - QTouchDevice *touchDevice; + QPointingDevice *touchDevice = QTest::createTouchDevice(); }; void tst_TapHandler::createView(QScopedPointer<QQuickView> &window, const char *fileName) |