102a974146
- Add Use-KCrash.patch: initialize KDE's Crash dialog (boo#958086) - Add Unbreak-startup.patch: fixes desktop freezing while kjumpingcube is running and showing an error when it is closed (kde#357408) OBS-URL: https://build.opensuse.org/request/show/381714 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kjumpingcube?expand=0&rev=24
52 lines
1.4 KiB
Diff
52 lines
1.4 KiB
Diff
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")));
|
|
|
|
|