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/editor/libkvieditor.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/editor/libkvieditor.cpp')
| -rw-r--r-- | src/modules/editor/libkvieditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/editor/libkvieditor.cpp b/src/modules/editor/libkvieditor.cpp index 1a71de977..72fbf9403 100644 --- a/src/modules/editor/libkvieditor.cpp +++ b/src/modules/editor/libkvieditor.cpp @@ -27,9 +27,9 @@ #include "KviModule.h" #include "KviWindow.h" -KviModule * g_pEditorModulePointer = 0; +KviModule * g_pEditorModulePointer = nullptr; -KviPointerList<ScriptEditorImplementation> * g_pScriptEditorWindowList = 0; +KviPointerList<ScriptEditorImplementation> * g_pScriptEditorWindowList = nullptr; static bool editor_module_init(KviModule * m) { @@ -69,14 +69,14 @@ static bool editor_module_cleanup(KviModule *) } delete g_pScriptEditorWindowList; - g_pScriptEditorWindowList = 0; + g_pScriptEditorWindowList = nullptr; return true; } static bool editor_module_can_unload(KviModule *) { - return ((g_pScriptEditorWindowList == 0) || (g_pScriptEditorWindowList->count() == 0)); + return ((g_pScriptEditorWindowList == nullptr) || (g_pScriptEditorWindowList->count() == 0)); } KVIRC_MODULE( |
