Commit 6c649cae authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix warning about help and version already being added

aboutData.setupCommandLine already sets them so no need to set them
manually
parent cdee5c1b
......@@ -86,8 +86,6 @@ int main(int argc, char *argv [])
QCommandLineParser cmdLine;
KAboutData::setApplicationData(aboutData);
QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("kolourpaint"), QApplication::windowIcon()));
cmdLine.addVersionOption();
cmdLine.addHelpOption();
cmdLine.addPositionalArgument(QStringLiteral("files"), i18n("Image files to open, optionally"), QStringLiteral("[files...]"));
aboutData.setupCommandLine(&cmdLine);
......
Supports Markdown
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