diff options
| author | 2020-04-01 00:48:15 +0200 | |
|---|---|---|
| committer | 2020-04-01 00:48:15 +0200 | |
| commit | 4418146f8553c670be2548ad4e5c1d024e91e2ad (patch) | |
| tree | 89807162cc56575f8560655da8e614995dc39417 /node/occurencecountnode.cpp | |
| parent | 14b2b264097cebb05237164f7320ad4b4fbbfba0 (diff) | |
| download | OneRoll-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.cpp | 3 |
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) { |