summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-01-30 13:27:28 +0100
committerFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-04-23 17:40:39 +0200
commita4ed4dda7ac1c357aa62e9488fe606c9f0b896c2 (patch)
treef80da19d0b5dd8abeb8e300ec002ff100dbcdb9e
parentb66089a4533553446c8157e3658ff8352058067f (diff)
tst_QGraphicsScene::removeFullyTransparentItem remove setActiveWindow()
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: I171d17f0ded6c74607ed2538e1550af52cabded1 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 4209682fb8..4230a2a877 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
+++ b/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
@@ -4354,7 +4354,6 @@ void tst_QGraphicsScene::removeFullyTransparentItem()
view.resize(m_testSize);
view.setScene(&scene);
view.show();
- QApplicationPrivate::setActiveWindow(&view);
QVERIFY(QTest::qWaitForWindowActive(&view));
QCoreApplication::processEvents(); // Process all queued paint events