Fixes a bug where the insecure credential store could not save credentials.

Part of the fix for #1377
This commit is contained in:
Rasmus Karlsson 2019-11-02 14:05:59 +01:00
parent 0e1f1196d6
commit d4474c4ed4

View file

@ -200,7 +200,9 @@ void Credentials::set(const QString &provider, const QString &name_,
{
auto &instance = insecureInstance();
instance.object()[name] = credential;
auto obj = instance.object();
obj[name] = credential;
instance.setObject(obj);
queueInsecureSave();
}