diff options
-rw-r--r-- | src/testlib/qtesttouch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/qtesttouch.h b/src/testlib/qtesttouch.h index f977564..2db015a 100644 --- a/src/testlib/qtesttouch.h +++ b/src/testlib/qtesttouch.h @@ -62,7 +62,7 @@ QT_BEGIN_NAMESPACE QT_MODULE(Test) -extern Q_GUI_EXPORT bool qt_translateRawKeyEvent(const QList<QTouchEvent::TouchPoint> &touchPoints, QWidget *window); +extern Q_GUI_EXPORT bool qt_translateRawTouchEvent(const QList<QTouchEvent::TouchPoint> &touchPoints, QWidget *window); namespace QTest { @@ -125,7 +125,7 @@ namespace QTest } void commit() { - if (!qt_translateRawKeyEvent(points.values(), targetWidget)) + if (!qt_translateRawTouchEvent(points.values(), targetWidget)) QTest::qWarn("Touch event not accepted by receiving widget"); targetWidget = 0; } |