aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result/stringresult.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/stringresult.cpp
parent8beb664172cf2c15abb4e12938b8978506471c02 (diff)
parent74275e3e17b7f8e9409d86382aa355c36e7005bd (diff)
downloadOneRoll-942cf3f75f49d83c4e512d5350f7de69f0ec8aa7.tar.gz
OneRoll-942cf3f75f49d83c4e512d5350f7de69f0ec8aa7.zip
Merge branch 'master' of github.com:obiwankennedy/DiceParser
Diffstat (limited to 'result/stringresult.cpp')
-rw-r--r--result/stringresult.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/result/stringresult.cpp b/result/stringresult.cpp
index 9f7d2e1..4dbd577 100644
--- a/result/stringresult.cpp
+++ b/result/stringresult.cpp
@@ -31,3 +31,7 @@ QVariant StringResult::getResult(RESULT_TYPE type)
return QVariant();
}
+QString StringResult::toString()
+{
+ return QString("StringResult_value_%1").arg(getText().replace(" ","_"));
+}