Fixed pairing problems when kdeconnect crashed

This was caused by KConf not being saved to disk in this case
This commit is contained in:
Albert Vaca 2014-04-14 21:08:13 +02:00
parent d6824ad8f8
commit bcf6359dd1

View file

@ -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