summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-18 11:29:28 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-18 11:29:28 (GMT)
commit5a350be913139e2b994878c62ce06eb88604abbe (patch)
tree7662610c7c5e6658ada0cc014b46b48cac1691ab /src/testlib
parent7e8734879ea7619a632553b59b2a8bd491033cce (diff)
downloadQt-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.h5
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;
}