From ab902d65c6640e7b388cc5d89588e2fc6b32759a Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 27 Oct 2018 00:25:05 +0200 Subject: Clean up die class. --- die.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'die.h') diff --git a/die.h b/die.h index b17ced4..79bed6d 100644 --- a/die.h +++ b/die.h @@ -135,12 +135,12 @@ public: void setOp(const Die::ArithmeticOperator &op); private: - qint64 m_value; + qint64 m_value = 0; QList m_rollResult; - bool m_selected; - bool m_hasValue; - bool m_displayStatus; - bool m_highlighted; + bool m_selected = false; + bool m_hasValue = false; + bool m_displayStatus = false; + bool m_highlighted = true; qint64 m_maxValue; qint64 m_base; QString m_color; -- cgit v1.2.3-70-g09d2