aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/kconfigcompiler_test.cpp
diff options
context:
space:
mode:
authorThomas Braxton <kde.braxton@gmail.com>2014-06-11 08:40:44 -0500
committerThomas Braxton <kde.braxton@gmail.com>2014-06-12 17:14:16 -0500
commitac6703215ba5e152379173ba503f5ba3bd7e8a85 (patch)
treed3072f5a03ec66569d4e2f6770fbaa06090cd98f /autotests/kconfig_compiler/kconfigcompiler_test.cpp
parent0ed55dfa5d25bdcbef24f1b06be34467b620ae99 (diff)
downloadkconfig-ac6703215ba5e152379173ba503f5ba3bd7e8a85.tar.gz
kconfig-ac6703215ba5e152379173ba503f5ba3bd7e8a85.tar.bz2
Simple Cleanups
- use Q_NULLPTR instead of 0 or NULL - simplify some foreach loops - use QStringLiteral in a few places - added a few consts REVIEW: 118666
Diffstat (limited to 'autotests/kconfig_compiler/kconfigcompiler_test.cpp')
-rw-r--r--autotests/kconfig_compiler/kconfigcompiler_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
index 40173ee7..cfe86e05 100644
--- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp
+++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
@@ -45,7 +45,7 @@ static CompilerTestSet testCases = {
"test12.h", "test12.cpp",
"test_dpointer.cpp", "test_dpointer.h",
"test_signal.cpp", "test_signal.h",
- NULL
+ Q_NULLPTR
};
static CompilerTestSet testCasesToRun = {
@@ -64,7 +64,7 @@ static CompilerTestSet testCasesToRun = {
"test12",
"test_dpointer",
"test_signal",
- 0
+ Q_NULLPTR
};
#if 0