From 2034e3ce7593f04d251b634bfe2d71b30f15ea3a Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Mon, 16 Jan 2017 18:17:34 +0100 Subject: Prefer nullptr over Q_NULLPTR --- autotests/kconfigloadertest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autotests/kconfigloadertest.cpp') 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) #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(item); \ /* Make sure the cast was successful. */ \ - QVERIFY(typeItem != Q_NULLPTR); + QVERIFY(typeItem != nullptr); void ConfigLoaderTest::init() { -- cgit v1.2.1