summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-05-27 13:31:56 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-05-27 13:31:56 (GMT)
commit1ad251132816e0cde703d41138a002b7b3b74867 (patch)
tree3177446db15d33154e1bcacf947318625216b7f9 /tests/auto
parentb68dffb7d852915d3962afcf947606e0cb1e05d2 (diff)
downloadQt-1ad251132816e0cde703d41138a002b7b3b74867.zip
Qt-1ad251132816e0cde703d41138a002b7b3b74867.tar.gz
Qt-1ad251132816e0cde703d41138a002b7b3b74867.tar.bz2
QToolButton autotest trigger() fails in E6
In E6 device, QToolButton autotest trigger() fails due to mouse click not hitting the context menu at all. Task-number: QT-5055 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qtoolbutton/tst_qtoolbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtoolbutton/tst_qtoolbutton.cpp b/tests/auto/qtoolbutton/tst_qtoolbutton.cpp
index 427a505..a4aa312 100644
--- a/tests/auto/qtoolbutton/tst_qtoolbutton.cpp
+++ b/tests/auto/qtoolbutton/tst_qtoolbutton.cpp
@@ -231,7 +231,7 @@ void tst_QToolButton::task176137_autoRepeatOfAction()
void tst_QToolButton::sendMouseClick()
{
- QTest::mouseClick(w, Qt::LeftButton, 0, QPoint(7,7));
+ QTest::mouseClick(w, Qt::LeftButton, 0);
}
QTEST_MAIN(tst_QToolButton)