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)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
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.