Verified Commit a5165fb6 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

shell: preserve wallpaper type after changing desktop layout

restore(...) will set the wallpaper type from the value of key "wallpaperplugin".

BUG: 454597
FIXED-IN: 5.24.6
parent 6400bcbd
Pipeline #185917 passed with stage
in 8 minutes and 31 seconds
......@@ -1598,8 +1598,6 @@ Plasma::Containment *ShellCorona::setContainmentTypeForScreen(int screen, const
return oldContainment;
// At this point we have a valid new containment from plugin and a view
// copy all configuration groups (excluded applets)
KConfigGroup oldCg = oldContainment->config();
......@@ -1626,6 +1624,7 @@ Plasma::Containment *ShellCorona::setContainmentTypeForScreen(int screen, const
newCg.writeEntry("activityId", oldContainment->activity());
newCg.writeEntry("wallpaperplugin", oldContainment->wallpaper());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment