diff options
author | Frédéric Lefebvre <frederic.lefebvre@qt.io> | 2024-02-06 12:48:55 +0100 |
---|---|---|
committer | Frédéric Lefebvre <frederic.lefebvre@qt.io> | 2024-04-29 16:12:02 +0200 |
commit | bcd3a00dfa42f406668a7e8a5a40eaf663fcbfac (patch) | |
tree | 977b150b726a68d997c6f90a024f24d66600541b /tests/auto/widgets/util/qscroller/tst_qscroller.cpp | |
parent | 3718c0c32010c2e7506c4f0651ef64353b5836a0 (diff) |
tst_QScroller::scrollTo() remove QApplicationPrivate::setActiveWindow()
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Ife4096dbe6f196d91f3d865c9e58908c4c30759f
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/widgets/util/qscroller/tst_qscroller.cpp')
-rw-r--r-- | tests/auto/widgets/util/qscroller/tst_qscroller.cpp | 1 |
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 a328b0c8d7..8beeb9136c 100644 --- a/tests/auto/widgets/util/qscroller/tst_qscroller.cpp +++ b/tests/auto/widgets/util/qscroller/tst_qscroller.cpp @@ -324,7 +324,6 @@ void tst_QScroller::scrollTo() { QScopedPointer<tst_QScrollerWidget> sw(new tst_QScrollerWidget); sw->show(); - QApplicationPrivate::setActiveWindow(sw.data()); if (!QTest::qWaitForWindowExposed(sw.data()) || !QTest::qWaitForWindowActive(sw.data())) QSKIP("Failed to show and activate window"); |