Commit 6f61f78f authored by Laurent Montel's avatar Laurent Montel 😁

Move QApplication

parent 28641b2b
......@@ -37,10 +37,10 @@ using KSieve::Parser;
int main(int argc, char **argv)
{
QApplication app(argc, argv);
KAboutData aboutData(QStringLiteral("scriptsieveparsing"), i18n("ScriptSieveParsingTest_Gui"), QStringLiteral("1.0"));
aboutData.setShortDescription(i18n("Test for script sieve parsing"));
QStandardPaths::setTestModeEnabled(true);
QApplication app(argc, argv);
QCommandLineParser parser;
KAboutData::setApplicationData(aboutData);
parser.addVersionOption();
......
Markdown is supported
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