Commit 04084971 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

[themeexplorer] Create QCommandLineParser only once needed

parent bb614af6
......@@ -39,10 +39,11 @@
int main(int argc, char **argv)
{
QCommandLineParser parser;
QApplication app(argc, argv);
app.setApplicationVersion(PROJECT_VERSION);
QCommandLineParser parser;
parser.addVersionOption();
parser.addHelpOption();
parser.setApplicationDescription(i18n("Plasma Theme Explorer"));
......
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