From bcf6359dd19d8dda5cd6f0bad1b2f9b99e527507 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Mon, 14 Apr 2014 21:08:13 +0200 Subject: [PATCH] Fixed pairing problems when kdeconnect crashed This was caused by KConf not being saved to disk in this case --- kded/device.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kded/device.cpp b/kded/device.cpp index 3b4b09f76..20059d4c7 100644 --- a/kded/device.cpp +++ b/kded/device.cpp @@ -430,6 +430,7 @@ void Device::storeAsTrusted() config->group("trusted_devices").group(id()).writeEntry("publicKey", m_publicKey.toPEM()); config->group("trusted_devices").group(id()).writeEntry("deviceName", name()); config->group("trusted_devices").group(id()).writeEntry("deviceType", type2str(m_deviceType)); + config->sync(); } QStringList Device::availableLinks() const