mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: fixup layout saving
This commit is contained in:
parent
e10b52b0bf
commit
bfb6c1bd07
1 changed files with 1 additions and 9 deletions
|
@ -355,15 +355,7 @@ void DesktopCorona::loadDefaultLayout()
|
|||
|
||||
void DesktopCorona::saveDefaultSetup()
|
||||
{
|
||||
KConfigGroup plasmaConfig = KConfigGroup(KGlobal::config(), "Containments");
|
||||
|
||||
foreach (Plasma::Containment *containment, containments()) {
|
||||
containment->save(plasmaConfig);
|
||||
foreach (Plasma::Applet* applet, containment->applets()) {
|
||||
applet->save(plasmaConfig);
|
||||
}
|
||||
}
|
||||
|
||||
saveLayout(KStandardDirs::locateLocal("config", "plasma-desktoprc"));
|
||||
requestConfigSync();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue