aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-07-28 01:07:11 +0200
committerRenaud G <renaud@rolisteam.org>2019-07-28 01:07:11 +0200
commitf1a89a3ca758c8af549e62ad4258504cb2bc2c7c (patch)
tree7d554a53c556f2ec7aecb4192fb275923e006e00 /die.h
parent0fd45ce5b17fa90929800766c0a7b5631541ae2c (diff)
downloadOneRoll-f1a89a3ca758c8af549e62ad4258504cb2bc2c7c.tar.gz
OneRoll-f1a89a3ca758c8af549e62ad4258504cb2bc2c7c.zip
Fix dice copy constructor and set default value
Diffstat (limited to 'die.h')
-rw-r--r--die.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/die.h b/die.h
index f544808..eb43521 100644
--- a/die.h
+++ b/die.h
@@ -151,8 +151,8 @@ private:
bool m_hasValue= false;
bool m_displayStatus= false;
bool m_highlighted= true;
- qint64 m_maxValue;
- qint64 m_base;
+ qint64 m_maxValue= 0;
+ qint64 m_base= 0;
QString m_color;
Die::ArithmeticOperator m_op;