D26052: KCM Cursor Theme : Use ManagedConfigModule

Cyril Rossi noreply at phabricator.kde.org
Tue Dec 17 09:21:52 GMT 2019


crossi added inline comments.

INLINE COMMENTS

> kcmcursortheme.cpp:367
>  {
>      m_settings->save();
> +    setPreferredSize(m_settings->cursorSize());

Now you should simply call ManagedConfigModule::save(); instead

> kcmcursortheme.cpp:384
>  {
>      m_settings->load();
> +    setPreferredSize(m_settings->cursorSize());

ManagedConfigModule::load();

> kcmcursortheme.cpp:403
>  {
>      m_settings->setDefaults();
>      m_preferredSize = m_settings->cursorSize();

ManagedConfigModule::defaults();

REPOSITORY
  R119 Plasma Desktop

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

To: bport, #plasma, ervin, crossi
Cc: meven, plasma-devel, LeGast00n, The-Feren-OS-Dev, 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/20191217/184d5dec/attachment-0001.html>


More information about the Plasma-devel mailing list