diff options
Diffstat (limited to 'src/listeners/debugmessagelistener.cpp')
-rw-r--r-- | src/listeners/debugmessagelistener.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/debugmessagelistener.cpp b/src/listeners/debugmessagelistener.cpp index cdc13cb53..92e1709b8 100644 --- a/src/listeners/debugmessagelistener.cpp +++ b/src/listeners/debugmessagelistener.cpp @@ -30,7 +30,7 @@ void DebugMessageListener::distributeEvent(const std::string &msg) it, mListeners) { DebugMessageListener *const listener = *it; - if (listener) + if (listener != nullptr) listener->debugMessage(msg); } } |