summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-03-18 07:43:57 +0100
committerMontel Laurent <[email protected]>2015-03-18 07:44:21 +0100
commit6360baa5fb75e8fdad195d4a5edb37c33bb6dce8 (patch)
treeaf3fad49b83019d204a6bdb093e50c0d134b33ea
parent87c0666a532a91fc911cb52d02b24d55991c48fe (diff)
move before qapplication
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 63e6d04..c1049fe 100644
--- a/main.cpp
+++ b/main.cpp
@@ -101,11 +101,11 @@ QString lowerAlphaNum( const QString & string )
int main( int argc, char **argv )
{
- QApplication app(argc, argv);
Kdelibs4ConfigMigrator migrate(QStringLiteral("kpat"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kpatrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kpatui.rc"));
migrate.migrate();
+ QApplication app(argc, argv);
KAboutData aboutData( "kpat",
i18n("KPatience"),