[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:28:05 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=58cfa83

The following commit has been merged in the master branch:
commit 58cfa83bcc3126fb6317dc78bceab943767eb2fa
Author: Lukáš Tinkl <lukas at kde.org>
Date:   Mon Nov 10 15:52:02 2014 +0100

    don't crash on incoming notifications
    
    this needs to be a QApplication as it uses widgets
---
 kded/kdeconnectd.cpp | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/kded/kdeconnectd.cpp b/kded/kdeconnectd.cpp
index 88ffa39..068371d 100644
--- a/kded/kdeconnectd.cpp
+++ b/kded/kdeconnectd.cpp
@@ -24,7 +24,7 @@
 #include <unistd.h>
 
 #include <QSocketNotifier>
-#include <QGuiApplication>
+#include <QApplication>
 
 #include <KDBusService>
 
@@ -59,11 +59,10 @@ void initializeTermHandlers(QCoreApplication* app, Daemon* daemon)
 
 int main(int argc, char* argv[])
 {
-    QCoreApplication::setApplicationName("kdeconnect");
-    QCoreApplication::setApplicationVersion("0.1");
-    QCoreApplication::setOrganizationDomain("kde.org");
-
-    QGuiApplication app(argc, argv);
+    QApplication app(argc, argv);
+    app.setApplicationName("kdeconnect");
+    app.setApplicationVersion("0.1");
+    app.setOrganizationDomain("kde.org");
     app.setQuitOnLastWindowClosed(false);
 
     KDBusService dbusService(KDBusService::Unique);

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list