aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-08-30 00:05:05 +0200
committerRenaud G <renaud@rolisteam.org>2015-08-30 00:05:05 +0200
commitda998082e2602cbb88be4da96c8ec62d2ac3f40a (patch)
tree85a7ea9d6101b87d4f63b82043dcb234f7c0260d /diceparser.cpp
parent04423fcd2848c283169f5a6719bd50cf70e14138 (diff)
parent4e36ee1d9ce7016f9fc2a56ff5d039a534c6d5f0 (diff)
downloadOneRoll-da998082e2602cbb88be4da96c8ec62d2ac3f40a.tar.gz
OneRoll-da998082e2602cbb88be4da96c8ec62d2ac3f40a.zip
Merge branch 'master' of github.com:obiwankennedy/DiceParser
Diffstat (limited to 'diceparser.cpp')
-rw-r--r--diceparser.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index bfe8247..dcb5030 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -181,11 +181,7 @@ bool DiceParser::parseLine(QString str)
{
m_errorMap.insert(ExecutionNode::NOTHING_UNDERSTOOD,QObject::tr("Nothing was understood"));
}
- else
- {
- return false;
- }
-
+ return false;
}
bool DiceParser::readExpression(QString& str,ExecutionNode* & node)