summaryrefslogtreecommitdiffstats
path: root/tests/auto/qcalendarwidget/tst_qcalendarwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qcalendarwidget/tst_qcalendarwidget.cpp')
-rw-r--r--tests/auto/qcalendarwidget/tst_qcalendarwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qcalendarwidget/tst_qcalendarwidget.cpp b/tests/auto/qcalendarwidget/tst_qcalendarwidget.cpp
index 67a822f..30ac638 100644
--- a/tests/auto/qcalendarwidget/tst_qcalendarwidget.cpp
+++ b/tests/auto/qcalendarwidget/tst_qcalendarwidget.cpp
@@ -193,7 +193,7 @@ void tst_QCalendarWidget::buttonClickCheck()
QTest::qWait(500);
QWidget *widget = qFindChild<QWidget *>(&object, "qt_calendar_calendarview");
QTest::mouseMove(widget);
- QTest::mouseClick(widget, Qt::LeftButton, 0, QPoint(), 50);
+ QTest::mouseClick(widget, Qt::LeftButton);
QCOMPARE(2006, object.yearShown());
object.setSelectedDate(selectedDate);
object.showSelectedDate();