Skip to content
Snippets Groups Projects
Commit d1fe017a authored by Iris Morelle's avatar Iris Morelle Committed by Andrea Scarpino
Browse files

Fix for mostly-empty version dialog contents

BUG:364408
REVIEW:128220
parent d830d09b
No related branches found
No related tags found
No related merge requests found
......@@ -72,11 +72,12 @@ int main(int argc, char **argv)
configFiles << QLatin1String("choqokrc");
rcFiles << QLatin1String("choqokui.rc");
KAboutData::setApplicationData(about);
ChoqokApplication app(argc, argv);
app.setApplicationVersion(QLatin1String(version));
QCommandLineParser parser;
KAboutData::setApplicationData(about);
parser.addVersionOption();
parser.addHelpOption();
about.setupCommandLine(&parser);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment