summaryrefslogtreecommitdiffstats
path: root/tests/auto/qchartview/tst_qchartview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qchartview/tst_qchartview.cpp')
-rw-r--r--tests/auto/qchartview/tst_qchartview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qchartview/tst_qchartview.cpp b/tests/auto/qchartview/tst_qchartview.cpp
index dc70d7cb..f93e50d6 100644
--- a/tests/auto/qchartview/tst_qchartview.cpp
+++ b/tests/auto/qchartview/tst_qchartview.cpp
@@ -190,9 +190,9 @@ void tst_QChartView::rubberBand()
QVERIFY(m_view->hasFocus());
QTest::mouseMove(m_view->viewport(), min + plotArea.topLeft().toPoint(), 100);
- QTest::mousePress(m_view->viewport(), Qt::LeftButton, 0, min + plotArea.topLeft().toPoint(), 100);
+ QTest::mousePress(m_view->viewport(), Qt::LeftButton, {}, min + plotArea.topLeft().toPoint(), 100);
QTest::mouseMove(m_view->viewport(), plotArea.bottomRight().toPoint() - max, 100);
- QTest::mouseRelease(m_view->viewport(), Qt::LeftButton, 0, plotArea.bottomRight().toPoint() - max, 100);
+ QTest::mouseRelease(m_view->viewport(), Qt::LeftButton, {}, plotArea.bottomRight().toPoint() - max, 100);
QApplication::processEvents();
TRY_COMPARE(spy0.count(), Xcount);