summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-01-30 13:24:15 +0100
committerFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-04-23 12:25:39 +0200
commit9c1ed93a2750f32168aa3646408460e09214c36e (patch)
tree20733f0c581fdefe8d2f0cb840d9887da2b4cc73
parentf03e9103a58f7becec39abd3061508228bd8e12e (diff)
tst_QGraphicsScene::isActive() remove setActiveWindow()
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls from the toplevel3 section. Task-number: QTBUG-121488 Change-Id: Id33b32041d6d6b02425f855c7032d695057e33ea Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
index b235079201..4209682fb8 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
+++ b/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
@@ -4242,7 +4242,6 @@ void tst_QGraphicsScene::isActive()
toplevel3.show();
- QApplicationPrivate::setActiveWindow(&toplevel3);
QVERIFY(QTest::qWaitForWindowActive(&toplevel3));
QCOMPARE(QApplication::activeWindow(), &toplevel3);