[effects/startupfeedback] Port to KConfigWatcher
ClosedPublic

Authored by davidedmundson on Dec 10 2019, 9:28 AM.

Details

Summary

startupfeedback is a special case, rather than loading our own config we
load settings from klaunchrc.

In order to reload this means leaking kwin specific calls into the
launch feedback KCM. Using the new KConfigWatcher syntax, we can use a
generic solution for all this code.

Test Plan

Changed the value in KCM
Opened dolphin
cursor did the right thing

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Dec 10 2019, 9:28 AM
Restricted Application added a project: KWin. · View Herald TranscriptDec 10 2019, 9:28 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
davidedmundson requested review of this revision.Dec 10 2019, 9:28 AM
zzag accepted this revision.Dec 10 2019, 9:42 AM
This revision is now accepted and ready to land.Dec 10 2019, 9:42 AM
This revision was automatically updated to reflect the committed changes.