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

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


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

The following commit has been merged in the master branch:
commit 463aa0cbf9046a8f2c826b8b14552da0fbdd6e69
Author: Aleix Pol <aleixpol at kde.org>
Date:   Wed Mar 4 22:29:04 2015 +0100

    Prefer using QCoreApplication to using QApplication
    
    Just checking if we can get rid of QtWidgets dependency on core,
    eventually
---
 core/kdeconnectconfig.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/kdeconnectconfig.cpp b/core/kdeconnectconfig.cpp
index adfcc9d..b165f4d 100644
--- a/core/kdeconnectconfig.cpp
+++ b/core/kdeconnectconfig.cpp
@@ -32,7 +32,7 @@
 #include <QDebug>
 #include <QDir>
 #include <QStandardPaths>
-#include <QApplication>
+#include <QCoreApplication>
 #include <QHostInfo>
 
 #include "core_debug.h"
@@ -94,7 +94,7 @@ KdeConnectConfig::KdeConnectConfig()
         if (!privKey.open(QIODevice::ReadWrite | QIODevice::Truncate))  {
             //TODO: Display this in a more visible way (notification?)
             qCCritical(KDECONNECT_CORE) << "Error: KDE Connect could not create private key file: " << keyPath;
-            QApplication::exit(-1);
+            QCoreApplication::exit(-1);
         }
         privKey.setPermissions(strict);
 

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list