Fix tst_QFiledialog::widgetlessNativeDialog()
Restore Qt::AA_DontUseNativeDialogs that is disabled in the beginning of the test function. Change-Id: I4ff8eab4ecc458c478337824e66b5a59fbdd7c65 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
9f3deee912
commit
897ef8f200
@ -1360,6 +1360,7 @@ void tst_QFiledialog::widgetlessNativeDialog()
|
||||
QVERIFY(!model);
|
||||
QPushButton *button = fd.findChild<QPushButton*>();
|
||||
QVERIFY(!button);
|
||||
QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true);
|
||||
}
|
||||
|
||||
void tst_QFiledialog::selectedFilesWithoutWidgets()
|
||||
|
Loading…
x
Reference in New Issue
Block a user