diff options
| author | 2016-05-01 16:16:09 +0100 | |
|---|---|---|
| committer | 2016-05-01 16:16:09 +0100 | |
| commit | fe375f69972cd912739c0d68fa4951d35de90e5e (patch) | |
| tree | 71bd2c2b59d6be62d7c18588a417e5aa39ab233c /src/modules/help/libkvihelp.cpp | |
| parent | libkvidcc: fix $dcc.currentSpeed documentation add missing @short and fix rig... (diff) | |
| parent | Apply clang-tidy: modernize-loop-convert (diff) | |
| download | KVIrc-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/help/libkvihelp.cpp')
| -rw-r--r-- | src/modules/help/libkvihelp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/help/libkvihelp.cpp b/src/modules/help/libkvihelp.cpp index c5dde5b99..d526c77a5 100644 --- a/src/modules/help/libkvihelp.cpp +++ b/src/modules/help/libkvihelp.cpp @@ -36,9 +36,9 @@ #include <QFileInfo> #include <QSplitter> -HelpIndex * g_pDocIndex = 0; -KviPointerList<HelpWidget> * g_pHelpWidgetList = 0; -KviPointerList<HelpWindow> * g_pHelpWindowList = 0; +HelpIndex * g_pDocIndex = nullptr; +KviPointerList<HelpWidget> * g_pHelpWidgetList = nullptr; +KviPointerList<HelpWindow> * g_pHelpWindowList = nullptr; /* @doc: help.open @@ -246,11 +246,11 @@ static bool help_module_cleanup(KviModule *) while(g_pHelpWidgetList->first()) delete g_pHelpWidgetList->first(); delete g_pHelpWidgetList; - g_pHelpWidgetList = 0; + g_pHelpWidgetList = nullptr; while(g_pHelpWindowList->first()) g_pHelpWindowList->first()->close(); delete g_pHelpWindowList; - g_pHelpWindowList = 0; + g_pHelpWindowList = nullptr; return true; } |
