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
parent
637ac8a81e
commit
81bd9633cc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue