diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-18 11:29:28 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-18 11:29:28 (GMT) |
commit | 5a350be913139e2b994878c62ce06eb88604abbe (patch) | |
tree | 7662610c7c5e6658ada0cc014b46b48cac1691ab /src/testlib | |
parent | 7e8734879ea7619a632553b59b2a8bd491033cce (diff) | |
download | Qt-5a350be913139e2b994878c62ce06eb88604abbe.zip Qt-5a350be913139e2b994878c62ce06eb88604abbe.tar.gz Qt-5a350be913139e2b994878c62ce06eb88604abbe.tar.bz2 |
compile after small API changes
Diffstat (limited to 'src/testlib')
-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; } |