summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-11 11:45:08 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-11 11:47:13 (GMT)
commitd5cd0a4abd1b95ab4472c4d0f26a9654db0e86b8 (patch)
tree0e4deff1214accbe92222282f534696609e09ea7
parente31c467ada4b5e4fe07b57838240b0b988255a0e (diff)
Move qapplication
-rw-r--r--migration/gid/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/gid/main.cpp b/migration/gid/main.cpp
index 4bd36d6..2f46096 100644
--- a/migration/gid/main.cpp
+++ b/migration/gid/main.cpp
@@ -35,6 +35,7 @@
int main(int argc, char **argv)
{
+ QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("gid-migrator");
KAboutData aboutData(QStringLiteral("gid-migrator"),
i18n("GID Migration Tool"),
@@ -46,7 +47,6 @@ int main(int argc, char **argv)
aboutData.addAuthor(i18n("Christian Mollekopf"), i18n("Author"), QStringLiteral("mollekopf@kolabsys.com"));
QCommandLineParser parser;
- QApplication app(argc, argv);
parser.addVersionOption();
parser.addHelpOption();
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("interactive"), i18n("Show reporting dialog")));