diff options
author | Frédéric Lefebvre <frederic.lefebvre@qt.io> | 2024-01-30 14:39:22 +0100 |
---|---|---|
committer | Frederic Lefebvre <frederic.lefebvre@qt.io> | 2024-04-29 14:26:37 +0000 |
commit | ec4221a37c5f4861b5ed232e43f12d5f783c112c (patch) | |
tree | dc7354b038b88644efb2a45dac1d96e7e71ac69e | |
parent | 5680789b2f2bcb93d04b4b32bf6732fe2601cf5c (diff) |
task255529_transformationAnchorAndViewportMargins remove setActive
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Id88665c413398c4bca844b178ad24ea23c674d89
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
-rw-r--r-- | tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp b/tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp index 90f77bfed5..73926e45dd 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp @@ -4640,7 +4640,6 @@ void tst_QGraphicsView::task255529_transformationAnchorMouseAndViewportMargins() VpGraphicsView view(&scene); view.setWindowFlags(Qt::X11BypassWindowManagerHint); view.show(); - QApplicationPrivate::setActiveWindow(&view); QVERIFY(QTest::qWaitForWindowExposed(&view)); const bool isActiveWindow = QTest::qWaitForWindowActive(&view); if (!isActiveWindow) |