diff options
| author | 2016-01-08 20:54:21 +0100 | |
|---|---|---|
| committer | 2016-01-08 20:54:21 +0100 | |
| commit | db15e41502743d1124062eddb8d2bb3617e2593c (patch) | |
| tree | 259d73b1be7b10efbfd125c118fc7d956a9b1aac /die.cpp | |
| parent | 6a1a9f1c7f3c50d04d89cc54e93d08ed6f2c4cc2 (diff) | |
| download | OneRoll-db15e41502743d1124062eddb8d2bb3617e2593c.tar.gz OneRoll-db15e41502743d1124062eddb8d2bb3617e2593c.zip | |
fix cppcheck errors
Diffstat (limited to 'die.cpp')
| -rw-r--r-- | die.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |