diff options
author | Kevin Funk <kfunk@kde.org> | 2017-01-16 18:17:34 +0100 |
---|---|---|
committer | Kevin Funk <kfunk@kde.org> | 2017-01-16 18:17:34 +0100 |
commit | 2034e3ce7593f04d251b634bfe2d71b30f15ea3a (patch) | |
tree | 9f96f54eca16f8a552f09f130ac248c8e35557b7 /autotests/kconfigloadertest.cpp | |
parent | f83b4b191d627b010192e0715536cb57c25519fb (diff) | |
download | kconfig-2034e3ce7593f04d251b634bfe2d71b30f15ea3a.tar.gz kconfig-2034e3ce7593f04d251b634bfe2d71b30f15ea3a.tar.bz2 |
Prefer nullptr over Q_NULLPTR
Diffstat (limited to 'autotests/kconfigloadertest.cpp')
-rw-r--r-- | autotests/kconfigloadertest.cpp | 4 |
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() { |