summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-02-09 17:09:08 +0100
committerFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-05-08 13:02:32 +0200
commit22e53dced71c5e64ca8e9d5eea613f0c195eab6d (patch)
tree851c4c102e3ab5f59da6374a571a72cd78ff23a0 /tests/auto
parent1530c475e98d2dfdc2f6fc55ecc4d8707544191c (diff)
tst_QSpinBox::editingFinished() remove setActiveWindow()
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 as made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: Ib08791375e3984e7eda5b25ec6bac0b283ed80cc Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp b/tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp
index 4ccecce990..27343edcde 100644
--- a/tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp
+++ b/tests/auto/widgets/widgets/qspinbox/tst_qspinbox.cpp
@@ -927,7 +927,6 @@ void tst_QSpinBox::editingFinished()
layout->addWidget(box2);
testFocusWidget.show();
- QApplicationPrivate::setActiveWindow(&testFocusWidget);
QVERIFY(QTest::qWaitForWindowActive(&testFocusWidget));
box->activateWindow();
box->setFocus();