diff --git a/src/pollhandler.h b/src/pollhandler.h index d50c7b9e8..c19980348 100644 --- a/src/pollhandler.h +++ b/src/pollhandler.h @@ -91,7 +91,7 @@ Q_SIGNALS: void hasEndedChanged(); private: - const Quotient::PollStartEvent *m_pollStartEvent; + const Quotient::PollStartEvent *m_pollStartEvent = nullptr; void updatePoll(Quotient::RoomEventsRange events);