Commit a3a6a99b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify variable

parent 006ade3e
Pipeline #69943 passed with stage
in 4 minutes and 56 seconds
......@@ -38,17 +38,17 @@ int main(int argc, char **argv)
QCommandLineParser parser;
aboutData.setupCommandLine(&parser);
QCommandLineOption testModeOption(QStringLiteral("test-mode"), i18n("Enable QStandardPaths test mode, i.e. read/write settings used by unittests"));
const QCommandLineOption testModeOption(QStringLiteral("test-mode"), i18n("Enable QStandardPaths test mode, i.e. read/write settings used by unittests"));
parser.addOption(testModeOption);
QCommandLineOption switchFullDebugOption(QStringLiteral("enable-full-debug"), i18n("Activate full debug for all modules."));
const QCommandLineOption switchFullDebugOption(QStringLiteral("enable-full-debug"), i18n("Activate full debug for all modules."));
parser.addOption(switchFullDebugOption);
QCommandLineOption switchOffDebugOption(QStringLiteral("disable-full-debug"), i18n("Disable full debug for all modules."));
const QCommandLineOption switchOffDebugOption(QStringLiteral("disable-full-debug"), i18n("Disable full debug for all modules."));
parser.addOption(switchOffDebugOption);
QCommandLineOption changeDebugSettingOption(QStringLiteral("debug-mode"),
i18n("Change debug mode as console (in console)"),
QStringLiteral("Full|Info|Warning|Critical|Off"));
const QCommandLineOption changeDebugSettingOption(QStringLiteral("debug-mode"),
i18n("Change debug mode as console (in console)"),
QStringLiteral("Full|Info|Warning|Critical|Off"));
parser.addOption(changeDebugSettingOption);
parser.addPositionalArgument(QStringLiteral("logging category name"),
i18n("Specify logging category name that you want to change debug mode (in console)"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment