diff options
Diffstat (limited to 'tests/auto/qml/qqmlcpputils/tst_qqmlcpputils.cpp')
-rw-r--r-- | tests/auto/qml/qqmlcpputils/tst_qqmlcpputils.cpp | 2 |
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. } |