[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:26:53 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=e59b94f
The following commit has been merged in the master branch:
commit e59b94f03dba3852f2577b71abaf543fda632061
Author: Albert Vaca <albertvaka at gmail.com>
Date: Tue Sep 3 19:14:11 2013 +0200
Simplified unpair logic
---
kded/device.cpp | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/kded/device.cpp b/kded/device.cpp
index 5b3cef7..a760e9e 100644
--- a/kded/device.cpp
+++ b/kded/device.cpp
@@ -164,16 +164,13 @@ void Device::unpair()
if (!isPaired()) return;
m_pairStatus = NotPaired;
- pairingTimer.stop();
KSharedConfigPtr config = KSharedConfig::openConfig("kdeconnectrc");
config->group("trusted_devices").deleteGroup(id());
- if (isReachable()) {
- NetworkPackage np(PACKAGE_TYPE_PAIR);
- np.set("pair", false);
- sendPackage(np);
- }
+ NetworkPackage np(PACKAGE_TYPE_PAIR);
+ np.set("pair", false);
+ sendPackage(np);
reloadPlugins(); //Will unload the plugins
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list