summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-02-06 12:51:48 +0100
committerFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-04-29 18:26:14 +0200
commitf81fa1de1dc381011ac750d6e11aad31d34ea3b7 (patch)
treece98a358af03833a394ec9bb425ce60cfa1a9374 /tests/auto/widgets
parentf8bc0e7c3b220dd19a2bb3ed7f868b6c1bcfde7d (diff)
tst_QScroller::overshoot() remove QApplicationPrivate::setActiveWindow
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: Iabebbeed38c20a5de150d688850e32a361290a90 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r--tests/auto/widgets/util/qscroller/tst_qscroller.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/widgets/util/qscroller/tst_qscroller.cpp b/tests/auto/widgets/util/qscroller/tst_qscroller.cpp
index 89a86d2071..2f9ef7e0c2 100644
--- a/tests/auto/widgets/util/qscroller/tst_qscroller.cpp
+++ b/tests/auto/widgets/util/qscroller/tst_qscroller.cpp
@@ -395,7 +395,6 @@ void tst_QScroller::overshoot()
QScroller::grabGesture(sw.data(), QScroller::TouchGesture);
sw->setGeometry(100, 100, 400, 300);
sw->show();
- QApplicationPrivate::setActiveWindow(sw.data());
if (!QTest::qWaitForWindowExposed(sw.data()) || !QTest::qWaitForWindowActive(sw.data()))
QSKIP("Failed to show and activate window");