aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-10-27 00:25:05 +0200
committerRenaud G <renaud@rolisteam.org>2018-11-09 23:47:36 +0100
commitab902d65c6640e7b388cc5d89588e2fc6b32759a (patch)
tree57e27e01f8e4b89b1d16007be046a8994e250286 /die.h
parent250431661bc4abb819bf790ff3348babfadf98b4 (diff)
downloadOneRoll-ab902d65c6640e7b388cc5d89588e2fc6b32759a.tar.gz
OneRoll-ab902d65c6640e7b388cc5d89588e2fc6b32759a.zip
Clean up die class.
Diffstat (limited to 'die.h')
-rw-r--r--die.h10
1 files changed, 5 insertions, 5 deletions
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<qint64> 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;