X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fcliparser.cpp;fp=src%2Fcommon%2Fcliparser.cpp;h=ba653df4c00748fa9986527abd828b2ca9c2b4d1;hp=2e94e559373af7a688dbcb231593abf2356dd3ea;hb=83662b607de9eb742fe9de4dd9445914a6bd9456;hpb=465e723c31d36f28eff7665ca2a8e0fb34427c29 diff --git a/src/common/cliparser.cpp b/src/common/cliparser.cpp index 2e94e559..ba653df4 100644 --- a/src/common/cliparser.cpp +++ b/src/common/cliparser.cpp @@ -146,7 +146,7 @@ bool CliParser::init(const QStringList &args) else value = currentArg->toLocal8Bit(); name = currentArg->mid(1).toLatin1().at(0); // we took one argument as argument to an option so skip it next time - if (skipNext) currentArg++; + if (skipNext) ++currentArg; if (!addShortArg(CliParserArg::CliArgOption, name, value)) return false; } }