don't delete and recreate wallpaperinterface if not needed
ClosedPublic

Authored by mart on Fri, Nov 8, 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.Fri, Nov 8, 3:19 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptFri, Nov 8, 3:19 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
mart requested review of this revision.Fri, Nov 8, 3:19 PM
davidedmundson accepted this revision.Fri, Nov 8, 3:26 PM
This revision is now accepted and ready to land.Fri, Nov 8, 3:26 PM
This revision was automatically updated to reflect the committed changes.