File Unbreak-startup.patch of Package kjumpingcube.5217

From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sun, 20 Mar 2016 12:51:24 +0000
Subject: Unbreak startup
X-Git-Tag: v16.03.80
X-Git-Url: http://quickgit.kde.org/?p=kjumpingcube.git&a=commitdiff&h=28b582eae919ee8187c8c466d0b13403a687f6e2
---
Unbreak startup

BUG: 357409
REVIEW: 127399
---


--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,6 +60,7 @@
     KF5::KIOCore
     KF5KDEGames
     KF5::XmlGui
+    KF5::DBusAddons
     KF5::KDELibs4Support
     Qt5::Svg
 )

--- a/main.cpp
+++ b/main.cpp
@@ -27,6 +27,7 @@
 #include <KCrash>
 #include <QApplication>
 #include <KLocalizedString>
+#include <KDBusService>
 #include <QCommandLineParser>
 #include <kdelibs4configmigrator.h>
 
@@ -48,6 +49,7 @@
     KAboutData aboutData( "kjumpingcube", i18n("KJumpingCube"),
                           KJC_VERSION, i18n(description), KAboutLicense::GPL,
                           i18n("(c) 1998-2000, Matthias Kiefer"));
+    aboutData.setOrganizationDomain(QByteArray("kde.org"));
     aboutData.addAuthor(i18n("Matthias Kiefer"),QString(), "matthias.kiefer@gmx.de");
     aboutData.addAuthor(i18n("Benjamin Meyer"),i18n("Various improvements"), "ben+kjumpingcube@meyerhome.net");
     aboutData.addCredit(i18n("Ian Wadham"),
@@ -66,6 +68,7 @@
     aboutData.setupCommandLine(&parser);
     parser.process(app);
     aboutData.processCommandLine(&parser);
+    KDBusService service;
 
     app.setWindowIcon(QIcon::fromTheme(QLatin1String("kjumpingcube")));
openSUSE Build Service is sponsored by