aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-12-08 21:14:43 +0100
committerRenaud G <renaud@rolisteam.org>2018-12-08 21:14:43 +0100
commitbb47c33763d250cc424216a1dd0fedefa80532a3 (patch)
tree3e60a84a8cd963d828299d49256ed6cd7c1bdd6f /die.h
parentb28b096d2fe3ddfed099ee8cc33c8caa504d7c83 (diff)
parent48de810db56b728726ec8b499b9a12c687b53795 (diff)
downloadOneRoll-bb47c33763d250cc424216a1dd0fedefa80532a3.tar.gz
OneRoll-bb47c33763d250cc424216a1dd0fedefa80532a3.zip
Merge branch 'master' of github.com:Rolisteam/DiceParser
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;