diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/testlib/qtesttouch.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testlib/qtesttouch.h b/src/testlib/qtesttouch.h index 141cb4d..042dd7d 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_translateRawTouchEvent(const QList<QTouchEvent::TouchPoint> &touchPoints, QWidget *window); +extern Q_GUI_EXPORT void qt_translateRawTouchEvent(const QList<QTouchEvent::TouchPoint> &touchPoints, QWidget *window); namespace QTest { @@ -125,8 +125,7 @@ namespace QTest } void commit() { - if (!qt_translateRawTouchEvent(points.values(), targetWidget)) - QTest::qWarn("Touch event not accepted by receiving widget"); + qt_translateRawTouchEvent(points.values(), targetWidget); targetWidget = 0; } |