aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/list/libkvilist.cpp
diff options
context:
space:
mode:
authorGravatar Alexey Sokolov2016-05-01 16:16:09 +0100
committerGravatar Alexey Sokolov2016-05-01 16:16:09 +0100
commitfe375f69972cd912739c0d68fa4951d35de90e5e (patch)
tree71bd2c2b59d6be62d7c18588a417e5aa39ab233c /src/modules/list/libkvilist.cpp
parentlibkvidcc: fix $dcc.currentSpeed documentation add missing @short and fix rig... (diff)
parentApply clang-tidy: modernize-loop-convert (diff)
downloadKVIrc-fe375f69972cd912739c0d68fa4951d35de90e5e.tar.gz
KVIrc-fe375f69972cd912739c0d68fa4951d35de90e5e.tar.bz2
KVIrc-fe375f69972cd912739c0d68fa4951d35de90e5e.zip
Merge pull request #1962 from DarthGandalf/modernize
Apply several fixes of clang-tidy
Diffstat (limited to 'src/modules/list/libkvilist.cpp')
-rw-r--r--src/modules/list/libkvilist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/list/libkvilist.cpp b/src/modules/list/libkvilist.cpp
index a20948673..63dd0a923 100644
--- a/src/modules/list/libkvilist.cpp
+++ b/src/modules/list/libkvilist.cpp
@@ -31,7 +31,7 @@
#include <QSplitter>
-KviPointerList<ListWindow> * g_pListWindowList = 0;
+KviPointerList<ListWindow> * g_pListWindowList = nullptr;
/*
@doc: list.open
@@ -82,7 +82,7 @@ static bool list_module_cleanup(KviModule *)
while(g_pListWindowList->first())
g_pListWindowList->first()->die();
delete g_pListWindowList;
- g_pListWindowList = 0;
+ g_pListWindowList = nullptr;
return true;
}