Commit cc4713f8 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Ensure created ical resources syncs initial config to storage

parent 61bf0ea9
Pipeline #74363 passed with stage
in 2 minutes and 56 seconds
......@@ -130,6 +130,11 @@ bool KonsoleKalendar::createAkonadiResource(const QString &icalFileUri)
qCWarning(KONSOLEKALENDAR_LOG) << "Could not set setting 'path': " << reply.error().message();
return false;
}
reply = iface.call(QStringLiteral("save"));
if (!reply.isValid()) {
qCWarning(KONSOLEKALENDAR_LOG) << "Could not save settings: " << reply.error().message();
return false;
}
inst.reconfigure();
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment