diff options
Diffstat (limited to 'src/listeners/arrowslistener.cpp')
-rw-r--r-- | src/listeners/arrowslistener.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/arrowslistener.cpp b/src/listeners/arrowslistener.cpp index fbc86b205..4a9074b74 100644 --- a/src/listeners/arrowslistener.cpp +++ b/src/listeners/arrowslistener.cpp @@ -30,7 +30,7 @@ void ArrowsListener::distributeEvent() it, mListeners) { ArrowsListener *const listener = *it; - if (listener) + if (listener != nullptr) listener->arrowsChanged(); } } |