diff options
| -rw-r--r-- | diceparser.cpp | 4 | ||||
| -rw-r--r-- | 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")); } @@ -83,8 +83,6 @@ int main(int argc, char *argv[]) commands << QString::fromLatin1(argv[i]); } } - - foreach(QString cmd, commands) { if(myParser->parseLine(cmd)) |