aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-11-11 17:38:53 +0100
committerRenaud G <renaud@rolisteam.org>2018-11-11 17:38:53 +0100
commit750cc31e9157bf92f54a66b8a076e5287c4cef3a (patch)
tree8931522a6b82cf82f997029ef76608243a27e904 /die.h
parentbd4a0c837bd5e3b4dbf9d3dcef892850d04ec6ac (diff)
parent1d8bd391b1df4fd2f2f274828db14c9ce695eb8b (diff)
downloadOneRoll-750cc31e9157bf92f54a66b8a076e5287c4cef3a.tar.gz
OneRoll-750cc31e9157bf92f54a66b8a076e5287c4cef3a.zip
Merge branch 'diceResult'
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;