tst_QDateTimeEdit::tabKeyNavigationWithSuffix remove setActiveWindow()

2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I719af713c2f41fb722ef55a772f9ea22e3e83ae0
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
Frédéric Lefebvre 2024-02-09 13:53:47 +01:00
parent a6b2ef579d
commit 4c4b28a90f
1 changed files with 0 additions and 1 deletions

View File

@ -1049,7 +1049,6 @@ void tst_QDateTimeEdit::tabKeyNavigationWithPrefix()
void tst_QDateTimeEdit::tabKeyNavigationWithSuffix()
{
QApplicationPrivate::setActiveWindow(testWidget);
testWidget->setDate(QDate(2004, 05, 11));
testWidget->setDisplayFormat("dd/MM/yyyy 'suffix'");