diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-06-27 04:35:02 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-06-27 04:35:02 (GMT) |
commit | ec896e15bdc2b8c71a8e200faae3b4ecf429964a (patch) | |
tree | 2cd4829862b242a652ec5acf6f8e0a312914fc68 /src/testlib | |
parent | 723d06c80b85d85a726b2179a84d26b8688fd49c (diff) | |
download | Qt-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.h | 1 |
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) { |