From ac6703215ba5e152379173ba503f5ba3bd7e8a85 Mon Sep 17 00:00:00 2001 From: Thomas Braxton Date: Wed, 11 Jun 2014 08:40:44 -0500 Subject: 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 --- src/core/kconfigini.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/kconfigini.cpp') diff --git a/src/core/kconfigini.cpp b/src/core/kconfigini.cpp index df834f57..a882ee31 100644 --- a/src/core/kconfigini.cpp +++ b/src/core/kconfigini.cpp @@ -51,7 +51,7 @@ QString KConfigIniBackend::warningProlog(const QFile &file, int line) } KConfigIniBackend::KConfigIniBackend() - : KConfigBackend(), lockFile(NULL) + : KConfigBackend(), lockFile(Q_NULLPTR) { } @@ -617,7 +617,7 @@ void KConfigIniBackend::unlock() { lockFile->unlock(); delete lockFile; - lockFile = NULL; + lockFile = Q_NULLPTR; } bool KConfigIniBackend::isLocked() const -- cgit v1.2.1