tst_QFileDialog2::dontShowCompleterOnRoot() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Ie16a0ef8fb2209ed1f1253825519be2c8b02101f
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
ba2f794596
commit
9fa92249c1
|
|
@ -1342,7 +1342,6 @@ void tst_QFileDialog2::dontShowCompleterOnRoot()
|
|||
fd.setAcceptMode(QFileDialog::AcceptSave);
|
||||
fd.show();
|
||||
|
||||
QApplicationPrivate::setActiveWindow(&fd);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&fd));
|
||||
QCOMPARE(fd.isVisible(), true);
|
||||
QCOMPARE(QApplication::activeWindow(), static_cast<QWidget*>(&fd));
|
||||
|
|
|
|||
Loading…
Reference in New Issue