diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp b/tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp index 2d618170d4..bc5cd2cdae 100644 --- a/tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp +++ b/tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp @@ -86,7 +86,10 @@ void tst_qqmlfileselector::basicTestCached() void tst_qqmlfileselector::applicationEngineTest() { QQmlApplicationEngine engine; +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED QQmlFileSelector* selector = QQmlFileSelector::get(&engine); +QT_WARNING_POP QVERIFY(selector != nullptr); selector->setExtraSelectors(QStringList() << "basic"); |