summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-03-18 07:30:03 +0100
committerMontel Laurent <[email protected]>2015-03-18 07:30:24 +0100
commitbd46f80ac4ccb802a161e63be569d8323455e665 (patch)
treefc76970e369322debdedbff6a434b05bc2b3f883
parentb2f2bf53df8a885a519d12b50cd79f2484a24c91 (diff)
move qapplication after kdelibs4support
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index dd84a4f..9f9d43e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -26,13 +26,14 @@
int main(int argc, char *argv[])
{
- QApplication app(argc, argv);
-
Kdelibs4ConfigMigrator migrate(QStringLiteral("kbreakout"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kbreakoutrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kbreakoutui.rc"));
migrate.migrate();
+ QApplication app(argc, argv);
+
+
KAboutData aboutData(QLatin1Literal("kbreakout"), i18n("KBreakOut"), QLatin1Literal("1.2.0"));
aboutData.setShortDescription(i18n("A breakout like game for KDE"));
aboutData.setLicense(KAboutLicense::GPL);