aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/occurencecountnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-04-01 00:48:15 +0200
committerRenaud G <renaud@rolisteam.org>2020-04-01 00:48:15 +0200
commit4418146f8553c670be2548ad4e5c1d024e91e2ad (patch)
tree89807162cc56575f8560655da8e614995dc39417 /node/occurencecountnode.cpp
parent14b2b264097cebb05237164f7320ad4b4fbbfba0 (diff)
downloadOneRoll-4418146f8553c670be2548ad4e5c1d024e91e2ad.tar.gz
OneRoll-4418146f8553c670be2548ad4e5c1d024e91e2ad.zip
New Api for string result subclass dice result.
Diffstat (limited to 'node/occurencecountnode.cpp')
-rw-r--r--node/occurencecountnode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/node/occurencecountnode.cpp b/node/occurencecountnode.cpp
index f82fa35..5140d19 100644
--- a/node/occurencecountnode.cpp
+++ b/node/occurencecountnode.cpp
@@ -148,7 +148,8 @@ void OccurenceCountNode::runForStringResult(const std::map<qint64, qint64>& mapO
else
result= QObject::tr("No matching result");
- m_stringResult->setText(QStringLiteral("%1 - [%2]").arg(result).arg(resultList.join(',')));
+ m_stringResult->addText(QStringLiteral("%1 - [%2]").arg(result).arg(resultList.join(',')));
+ m_stringResult->finished();
}
void OccurenceCountNode::runForDiceResult(const std::map<qint64, qint64>& mapOccurence)
{