From ff78f313abd4839b77f17255b79dd4499bce0512 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 24 Feb 2018 17:06:10 +0100 Subject: -remove warnings --- die.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'die.cpp') diff --git a/die.cpp b/die.cpp index 8809a97..417ab20 100644 --- a/die.cpp +++ b/die.cpp @@ -155,11 +155,6 @@ quint64 Die::getFaces() const { return abs(m_maxValue-m_base)+1; } - -void Die::setFaces(quint64 face) -{ - //m_maxValue=m_base+face-1; -} qint64 Die::getLastRolledValue() { if(!m_rollResult.isEmpty()) @@ -190,6 +185,10 @@ void Die::setBase(qint64 base) { m_base = base; } +qint64 Die::getBase() +{ + return m_base; +} QString Die::getColor() const { return m_color; -- cgit v1.2.3-70-g09d2