summaryrefslogtreecommitdiff
path: root/src/listeners/arrowslistener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/listeners/arrowslistener.cpp')
-rw-r--r--src/listeners/arrowslistener.cpp2
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();
}
}