Make sure attribute is defined

Summary: Was running it on valgrind, saw it complain.

Test Plan: Valgrind doesn't complain anymore

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D27324
This commit is contained in:
Aleix Pol 2020-02-12 16:19:37 +01:00
parent 5af81c1cd7
commit aef354b655

View file

@ -283,7 +283,7 @@ private:
ClockSkewNotifier *m_skewNotifier;
// Specifies whether Night Color is enabled.
bool m_active;
bool m_active = false;
// Specifies whether Night Color is currently running.
bool m_running = false;