diff options
author | Liang Qi <liang.qi@qt.io> | 2019-09-06 10:34:06 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2019-09-06 10:34:43 +0200 |
commit | 48ce9c5c818102b3f2c92392252020c2f0f08e78 (patch) | |
tree | 02c71ac6a21a24f3f43d69b16a0bcd36496c0dc4 /tests/auto/qquickpopup/tst_qquickpopup.cpp | |
parent | 305c3cbfe3db51225ba30249cd70ed26a6c70c58 (diff) | |
parent | 742a20d0590d3a2b7d8f7e272c12124c9aba6fea (diff) |
Merge "Merge remote-tracking branch 'origin/5.12' into 5.15"
Diffstat (limited to 'tests/auto/qquickpopup/tst_qquickpopup.cpp')
-rw-r--r-- | tests/auto/qquickpopup/tst_qquickpopup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qquickpopup/tst_qquickpopup.cpp b/tests/auto/qquickpopup/tst_qquickpopup.cpp index c2f876b8..636b2b21 100644 --- a/tests/auto/qquickpopup/tst_qquickpopup.cpp +++ b/tests/auto/qquickpopup/tst_qquickpopup.cpp @@ -494,7 +494,7 @@ void tst_QQuickPopup::closePolicy() QTRY_VERIFY(popup->isOpened()); // press outside popup and its parent - QTest::mousePress(window, Qt::LeftButton, Qt::NoModifier, QPoint(1, 1)); + QTest::mousePress(window, Qt::LeftButton, Qt::NoModifier, QPoint(1, 1), 50); if (closePolicy.testFlag(QQuickPopup::CloseOnPressOutside) || closePolicy.testFlag(QQuickPopup::CloseOnPressOutsideParent)) QTRY_VERIFY(!popup->isVisible()); else |