Changeset View
Changeset View
Standalone View
Standalone View
src/main.cpp
Context not available. | |||||
151 | 151 | | |||
---|---|---|---|---|---|
152 | QSharedPointer<QCommandLineParser> parser(new QCommandLineParser); | 152 | QSharedPointer<QCommandLineParser> parser(new QCommandLineParser); | ||
153 | parser->setApplicationDescription(about.shortDescription()); | 153 | parser->setApplicationDescription(about.shortDescription()); | ||
154 | parser->addHelpOption(); | | |||
155 | parser->addVersionOption(); | | |||
156 | about.setupCommandLine(parser.data()); | 154 | about.setupCommandLine(parser.data()); | ||
157 | 155 | | |||
158 | QStringList args = app->arguments(); | 156 | QStringList args = app->arguments(); | ||
Context not available. |