D28462: [KCM] Add color state probe to allow system settings to display current default state

Kevin Ottens noreply at phabricator.kde.org
Tue Apr 7 18:08:51 BST 2020


ervin requested changes to this revision.
ervin added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> colorsstateprobe.cpp:29
> +    : KCModuleStateProbe(parent, args)
> +    , m_settings(new ColorsSettings(this))
> +{

I'm not sure I see the point of doing this... You don't need that member variable anyway. You could just have in the ctor body the following:
`registerSetting(new ColorsSettings(this));`

REPOSITORY
  R119 Plasma Desktop

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

To: bport, #plasma, ervin, meven, crossi, hchain
Cc: broulik, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, 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/20200407/348105d7/attachment-0001.html>


More information about the Plasma-devel mailing list