don't delete and recreate wallpaperinterface if not needed
ClosedPublic

Authored by mart on Nov 8 2019, 3:19 PM.

Details

Summary

the wallpaperinterface instance already reacts to wallpaper package
change and loads the current one.
containemtninterface deleted it every time the wallpaper changed
and recreated, effectively loading the wallpaper two times every time
the plugin was changed

Test Plan

switching plugins still works, but it's actually visible faster on slow hardware

Diff Detail

Repository
R242 Plasma Framework (Library)
Branch
phab/dontdelete
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 18610
Build 18628: arc lint + arc unit
mart created this revision.Nov 8 2019, 3:19 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptNov 8 2019, 3:19 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
mart requested review of this revision.Nov 8 2019, 3:19 PM
davidedmundson accepted this revision.Nov 8 2019, 3:26 PM
This revision is now accepted and ready to land.Nov 8 2019, 3:26 PM
This revision was automatically updated to reflect the committed changes.