summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-06-27 04:35:02 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-06-27 04:35:02 (GMT)
commitec896e15bdc2b8c71a8e200faae3b4ecf429964a (patch)
tree2cd4829862b242a652ec5acf6f8e0a312914fc68 /src/testlib
parent723d06c80b85d85a726b2179a84d26b8688fd49c (diff)
downloadQt-ec896e15bdc2b8c71a8e200faae3b4ecf429964a.zip
Qt-ec896e15bdc2b8c71a8e200faae3b4ecf429964a.tar.gz
Qt-ec896e15bdc2b8c71a8e200faae3b4ecf429964a.tar.bz2
Fixed link error of some test tools due to multiply defined
QTest::touchEvent().
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qtesttouch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testlib/qtesttouch.h b/src/testlib/qtesttouch.h
index e35dbe2..5f1fb66 100644
--- a/src/testlib/qtesttouch.h
+++ b/src/testlib/qtesttouch.h
@@ -137,6 +137,7 @@ namespace QTest
friend QTouchEventSequence touchEvent(QWidget *, QTouchEvent::DeviceType);
};
+ inline
QTouchEventSequence touchEvent(QWidget *widget = 0,
QTouchEvent::DeviceType deviceType = QTouchEvent::TouchScreen)
{