aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result/scalarresult.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-04-25 11:43:06 +0200
committerRenaud G <renaud@rolisteam.org>2015-04-25 11:43:06 +0200
commit942cf3f75f49d83c4e512d5350f7de69f0ec8aa7 (patch)
treedc1bc3470ee90a7950747e0d1d25e4e66a0218c0 /result/scalarresult.cpp
parent8beb664172cf2c15abb4e12938b8978506471c02 (diff)
parent74275e3e17b7f8e9409d86382aa355c36e7005bd (diff)
downloadOneRoll-942cf3f75f49d83c4e512d5350f7de69f0ec8aa7.tar.gz
OneRoll-942cf3f75f49d83c4e512d5350f7de69f0ec8aa7.zip
Merge branch 'master' of github.com:obiwankennedy/DiceParser
Diffstat (limited to 'result/scalarresult.cpp')
-rw-r--r--result/scalarresult.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/result/scalarresult.cpp b/result/scalarresult.cpp
index 8c924fe..a998608 100644
--- a/result/scalarresult.cpp
+++ b/result/scalarresult.cpp
@@ -36,3 +36,7 @@ QVariant ScalarResult::getResult(Result::RESULT_TYPE type)
return m_value;
}
+QString ScalarResult::toString()
+{
+ return QString("ScalarResult_Value_%1").arg(m_value);
+}