From 88edfa144f4da3880168a8def910561f5df203a0 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Tue, 31 Mar 2015 23:44:10 +0200 Subject: -add feature to list aliases. --- diceparser.cpp | 4 ++-- main.cpp | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/diceparser.cpp b/diceparser.cpp index 1e23c6b..23e40cd 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -72,8 +72,8 @@ DiceParser::DiceParser() m_commandList = new QStringList(); - m_commandList->append(tr("help")); - m_commandList->append(tr("la")); + m_commandList->append(QObject::tr("help")); + m_commandList->append(QObject::tr("la")); } diff --git a/main.cpp b/main.cpp index 0dac21c..926e3d4 100644 --- a/main.cpp +++ b/main.cpp @@ -83,8 +83,6 @@ int main(int argc, char *argv[]) commands << QString::fromLatin1(argv[i]); } } - - foreach(QString cmd, commands) { if(myParser->parseLine(cmd)) -- cgit v1.2.3-70-g09d2