D27461: Sync Plasma theme settings instead of copying the plasmarc file

Filip Fila noreply at phabricator.kde.org
Mon Feb 17 15:10:03 GMT 2020


filipf added inline comments.

INLINE COMMENTS

> sddmauthhelper.cpp:138
> +        QSharedPointer<KConfig> themeConfig = openConfig(themeConfigLocation);
> +        themeConfig->group(QStringLiteral("Theme")).writeEntry(QStringLiteral("name"), args[QStringLiteral("plasmaTheme")].toString());
> +        const char* themeConfigLocationConverted = themeConfigLocation.toLocal8Bit().data();

do I need to do `themeConfig->sync`? It seems to work as intended without it, even when just updating the entry.

REPOSITORY
  R123 SDDM Configuration Panel (KCM)

REVISION DETAIL
  https://phabricator.kde.org/D27461

To: filipf, #plasma, davidedmundson, ngraham
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200217/cef89d66/attachment.html>


More information about the Plasma-devel mailing list