aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-01-08 20:54:21 +0100
committerRenaud G <renaud@rolisteam.org>2016-01-08 20:54:21 +0100
commitdb15e41502743d1124062eddb8d2bb3617e2593c (patch)
tree259d73b1be7b10efbfd125c118fc7d956a9b1aac /die.cpp
parent6a1a9f1c7f3c50d04d89cc54e93d08ed6f2c4cc2 (diff)
downloadOneRoll-db15e41502743d1124062eddb8d2bb3617e2593c.tar.gz
OneRoll-db15e41502743d1124062eddb8d2bb3617e2593c.zip
fix cppcheck errors
Diffstat (limited to 'die.cpp')
-rw-r--r--die.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/die.cpp b/die.cpp
index 1b4b246..1eb94e0 100644
--- a/die.cpp
+++ b/die.cpp
@@ -110,7 +110,7 @@ void Die::roll(bool adding)
}
}
-quint64 Die::getFaces()
+quint64 Die::getFaces() const
{
return m_faces;
}
@@ -128,7 +128,7 @@ qint64 Die::getLastRolledValue()
else
return 0;
}
-bool Die::hasBeenDisplayed()
+bool Die::hasBeenDisplayed() const
{
return m_displayStatus;
}
@@ -141,7 +141,7 @@ void Die::setHighlighted(bool a)
m_highlighted = a;
}
-bool Die::isHighlighted()
+bool Die::isHighlighted() const
{
return m_highlighted;
}