aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Gottfried <sebastiangottfried@web.de>2015-06-01 15:58:53 (GMT)
committerSebastian Gottfried <sebastiangottfried@web.de>2015-06-01 15:58:53 (GMT)
commit6a2217b2a5d941faa8c14549461a725650d27ec5 (patch)
tree74476e9bda66268008dd6fedb2462bc864a2c1a9
parent570d74cbf76da96e18ecc715acf4bbb8053a2bf7 (diff)
Qt5: Fix Command Line Parsing
`--resource-editor` is flag and has no value.
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a1e946c..1aa4f0c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -66,7 +66,7 @@ int main(int argc, char **argv)
QCommandLineParser parser;
about.setupCommandLine(&parser);
- parser.addOption(QCommandLineOption(QStringLiteral("resource-editor"), i18n("Launch the course and keyboard layout editor"), QStringLiteral("resource-editor")));
+ parser.addOption(QCommandLineOption(QStringLiteral("resource-editor"), i18n("Launch the course and keyboard layout editor")));
parser.process(app);