aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlfileselector
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlfileselector')
-rw-r--r--tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp b/tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp
index 2c62353630..2d618170d4 100644
--- a/tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp
+++ b/tests/auto/qml/qqmlfileselector/tst_qqmlfileselector.cpp
@@ -58,7 +58,7 @@ void tst_qqmlfileselector::basicTest()
QQmlComponent component(&engine, testFileUrl("basicTest.qml"));
QObject *object = component.create();
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
QCOMPARE(object->property("value").toString(), QString("selected"));
delete object;
@@ -87,12 +87,12 @@ void tst_qqmlfileselector::applicationEngineTest()
{
QQmlApplicationEngine engine;
QQmlFileSelector* selector = QQmlFileSelector::get(&engine);
- QVERIFY(selector != 0);
+ QVERIFY(selector != nullptr);
selector->setExtraSelectors(QStringList() << "basic");
QQmlComponent component(&engine, testFileUrl("basicTest.qml"));
QObject *object = component.create();
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
QCOMPARE(object->property("value").toString(), QString("selected"));
delete object;