diff --git a/cfg/qt.cfg b/cfg/qt.cfg
index 2ef1093c17f..a9b141f7cdd 100644
--- a/cfg/qt.cfg
+++ b/cfg/qt.cfg
@@ -417,8 +417,8 @@
-
-
+
+
@@ -467,7 +467,7 @@
-
+
false
@@ -2041,7 +2041,7 @@
-
+
false
@@ -2459,9 +2459,9 @@
-
-
-
+
+
+
false
@@ -2470,7 +2470,7 @@
-
+
false
@@ -5325,7 +5325,7 @@
-
+
@@ -5339,7 +5339,7 @@
-
+
@@ -5352,7 +5352,7 @@
-
+
diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp
index b6d0ba760f9..b42c956ddf5 100644
--- a/test/cfg/qt.cpp
+++ b/test/cfg/qt.cpp
@@ -583,7 +583,7 @@ void validCode(int * pIntPtr, QString & qstrArg, double d)
Q_UNUSED(d)
if (QFile::exists("test")) {}
- if (pIntPtr != Q_NULLPTR) {
+ if (pIntPtr != nullptr) {
*pIntPtr = 5;
}
@@ -627,11 +627,11 @@ void ignoredReturnValue()
void nullPointer(int * pIntPtr)
{
- int * pNullPtr = Q_NULLPTR;
+ int * pNullPtr = nullptr;
// cppcheck-suppress nullPointer
*pNullPtr = 1;
- if (pIntPtr != Q_NULLPTR) {
+ if (pIntPtr != nullptr) {
*pIntPtr = 2;
} else {
// cppcheck-suppress nullPointerRedundantCheck