[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:30:02 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=b585e4d
The following commit has been merged in the master branch:
commit b585e4d48ad1ef9097729cc322d6987703490d99
Author: Albert Vaca <albertvaka at gmail.com>
Date: Tue Sep 6 00:42:19 2016 +0200
Don't return an empty list of supported plugins
If we don't know it yet return them all.
---
core/device.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/core/device.cpp b/core/device.cpp
index 2dc8120..9301654 100644
--- a/core/device.cpp
+++ b/core/device.cpp
@@ -60,6 +60,9 @@ Device::Device(QObject* parent, const QString& id)
//Register in bus
QDBusConnection::sessionBus().registerObject(dbusPath(), this, QDBusConnection::ExportScriptableContents | QDBusConnection::ExportAdaptors);
+ //Assume every plugin is supported until addLink is called and we can get the actual list
+ m_supportedPlugins = PluginLoader::instance()->getPluginList().toSet();
+
connect(this, &Device::pairingError, this, &warn);
}
@@ -259,7 +262,6 @@ void Device::removeLink(DeviceLink* link)
//qCDebug(KDECONNECT_CORE) << "RemoveLink" << m_deviceLinks.size() << "links remaining";
if (m_deviceLinks.isEmpty()) {
- m_supportedPlugins.clear();
reloadPlugins();
Q_EMIT reachableStatusChanged();
}
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list