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

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


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

The following commit has been merged in the master branch:
commit fc45b64362f8e335ac0ee2b1a1b7b87d27823127
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Sat Oct 5 15:55:25 2013 +0200

    Added check for RSA support in QCA.
    
    It was crashing KDED for some users when not present.
---
 kded/daemon.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/kded/daemon.cpp b/kded/daemon.cpp
index 5bf33da..815283a 100644
--- a/kded/daemon.cpp
+++ b/kded/daemon.cpp
@@ -23,6 +23,7 @@
 #include "networkpackage.h"
 
 #include "backends/lan/lanlinkprovider.h"
+#include "backends/online/onlinelinkprovider.h"
 #include "backends/loopback/loopbacklinkprovider.h"
 
 #include <QUuid>
@@ -51,6 +52,14 @@ Daemon::Daemon(QObject *parent, const QList<QVariant>&)
         qDebug() << "My id:" << uuid;
     }
 
+    //qDebug() << "QCA supported capabilities:" << QCA::supportedFeatures().join(",");
+    if(!QCA::isSupported("rsa")) {
+        //TODO: Maybe display this in a more visible way?
+        qWarning() << "Error: KDE Connect could not find support for RSA in your QCA installation, if your distribution provides"
+                   << "separate packages for QCA-ossl and QCA-gnupg plugins, make sure you have them installed and try again";
+        return;
+    }
+
     if (!config->group("myself").hasKey("privateKey") || !config->group("myself").hasKey("publicKey")) {
 
         //http://delta.affinix.com/docs/qca/rsatest_8cpp-example.html

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list