Fix for code snippet in commandlineparser documentation

One line in the code snippet wasn't translated whlie the others were.

Change-Id: Ie77a317833f800087b485609cd001dd26060a40f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
bb10
Niels Weber 2014-07-07 13:23:02 +02:00
parent 637ac8a81e
commit 81bd9633cc
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ int main(int argc, char *argv[])
parser.addOption(showProgressOption);
// A boolean option with multiple names (-f, --force)
QCommandLineOption forceOption(QStringList() << "f" << "force", "Overwrite existing files.");
QCommandLineOption forceOption(QStringList() << "f" << "force",
QCoreApplication::translate("main", "Overwrite existing files."));
parser.addOption(forceOption);
// An option with a value