summaryrefslogtreecommitdiff
path: root/src/listeners/buyingstoreslotslistener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/listeners/buyingstoreslotslistener.cpp')
-rw-r--r--src/listeners/buyingstoreslotslistener.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/buyingstoreslotslistener.cpp b/src/listeners/buyingstoreslotslistener.cpp
index 6155b97fd..e62ee1d4a 100644
--- a/src/listeners/buyingstoreslotslistener.cpp
+++ b/src/listeners/buyingstoreslotslistener.cpp
@@ -30,7 +30,7 @@ void BuyingStoreSlotsListener::distributeEvent(const int slots)
it, mListeners)
{
BuyingStoreSlotsListener *const listener = *it;
- if (listener)
+ if (listener != nullptr)
listener->buyingStoreSlotsChanged(slots);
}
}