aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfigloadertest.cpp
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2017-01-16 18:17:34 +0100
committerKevin Funk <kfunk@kde.org>2017-01-16 18:17:34 +0100
commit2034e3ce7593f04d251b634bfe2d71b30f15ea3a (patch)
tree9f96f54eca16f8a552f09f130ac248c8e35557b7 /autotests/kconfigloadertest.cpp
parentf83b4b191d627b010192e0715536cb57c25519fb (diff)
downloadkconfig-2034e3ce7593f04d251b634bfe2d71b30f15ea3a.tar.gz
kconfig-2034e3ce7593f04d251b634bfe2d71b30f15ea3a.tar.bz2
Prefer nullptr over Q_NULLPTR
Diffstat (limited to 'autotests/kconfigloadertest.cpp')
-rw-r--r--autotests/kconfigloadertest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/kconfigloadertest.cpp b/autotests/kconfigloadertest.cpp
index d52f5cbf..ef3ac30e 100644
--- a/autotests/kconfigloadertest.cpp
+++ b/autotests/kconfigloadertest.cpp
@@ -30,11 +30,11 @@ Q_DECLARE_METATYPE(QList<int>)
#define GET_CONFIG_ITEM_VALUE(type, configName) \
KConfigSkeletonItem* item = cl->findItem(TEST_NAME, configName); \
/* Check if we got back a valid item. */ \
- QVERIFY(item != Q_NULLPTR); \
+ QVERIFY(item != nullptr); \
/* Cast the item to the given type. */ \
type typeItem = dynamic_cast<type>(item); \
/* Make sure the cast was successful. */ \
- QVERIFY(typeItem != Q_NULLPTR);
+ QVERIFY(typeItem != nullptr);
void ConfigLoaderTest::init()
{