From 6538dce32fd66ee5274197f16bc9b75f09ef4aae Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Mon, 9 Feb 2015 00:58:16 +0100 Subject: [PATCH 1/1] Move KAboutData initialization before app initialization --- src/common/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/main.cpp b/src/common/main.cpp index 9d75da4e..3f6cab54 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -190,9 +190,6 @@ int main(int argc, char **argv) } #endif - if (!app.init()) - return EXIT_FAILURE; - #ifdef HAVE_KF5 // FIXME: This should be done after loading the translation catalogue, but still in main() AboutData aboutData; @@ -200,5 +197,8 @@ int main(int argc, char **argv) KAboutData::setApplicationData(aboutData.kAboutData()); #endif + if (!app.init()) + return EXIT_FAILURE; + return app.exec(); } -- 2.20.1