aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-04-21 06:45:15 +0200
committerRenaud G <renaud@rolisteam.org>2016-04-21 06:45:15 +0200
commit1e2c2131bfa90256817bc0299892af06bcfca608 (patch)
tree9b6ceefae8b32b6e4dd633a8bd5d27cedb05e032 /die.cpp
parentee3cc6726675134a8522d00cfd9176b3a169b0cd (diff)
downloadOneRoll-1e2c2131bfa90256817bc0299892af06bcfca608.tar.gz
OneRoll-1e2c2131bfa90256817bc0299892af06bcfca608.zip
Fix error and warning from CppCheck
Diffstat (limited to 'die.cpp')
-rw-r--r--die.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/die.cpp b/die.cpp
index 7a79e88..1c52adb 100644
--- a/die.cpp
+++ b/die.cpp
@@ -43,6 +43,7 @@ Die::Die(const Die& die)
m_faces = die.m_faces;
m_highlighted = die.m_highlighted;
m_base = die.m_base;
+ m_color = die.getColor();
}
void Die::setValue(qint64 r)