aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlcpputils
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlcpputils')
-rw-r--r--tests/auto/qml/qqmlcpputils/tst_qqmlcpputils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlcpputils/tst_qqmlcpputils.cpp b/tests/auto/qml/qqmlcpputils/tst_qqmlcpputils.cpp
index 63b5de044e..99cabb4b09 100644
--- a/tests/auto/qml/qqmlcpputils/tst_qqmlcpputils.cpp
+++ b/tests/auto/qml/qqmlcpputils/tst_qqmlcpputils.cpp
@@ -102,7 +102,7 @@ void tst_qqmlcpputils::fastCast()
}
{
- QObject *nullObj = 0;
+ QObject *nullObj = nullptr;
QObject *obj = qmlobject_cast<QObject *>(nullObj);
QCOMPARE(obj, nullObj); // shouldn't crash/assert.
}