--warnings; --deprecations;
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728720
This commit is contained in:
parent
30afcb5ef9
commit
96712a50a8
@ -427,8 +427,7 @@ void Applet::saveState(KConfigGroup* group) const
|
||||
KConfigGroup Applet::config(const QString& group) const
|
||||
{
|
||||
KConfigGroup cg = config();
|
||||
cg.changeGroup(instanceName() + '-' + group);
|
||||
return cg;
|
||||
return KConfigGroup(cg.config(), instanceName() + '-' + group);
|
||||
}
|
||||
|
||||
KConfigGroup Applet::globalConfig() const
|
||||
|
@ -223,10 +223,10 @@ void Corona::loadDefaultSetup()
|
||||
Containment* panel = addContainment("panel", (QVariantList() << (int)Plasma::BottomEdge));
|
||||
|
||||
// some default applets to get a usable UI
|
||||
Plasma::Applet *launcher = panel->addApplet("launcher");
|
||||
Plasma::Applet *tasksApplet = panel->addApplet("tasks");
|
||||
Plasma::Applet *systemTrayApplet = panel->addApplet("systemtray");
|
||||
Plasma::Applet *clockApplet = panel->addApplet("digital-clock");
|
||||
panel->addApplet("launcher");
|
||||
panel->addApplet("tasks");
|
||||
panel->addApplet("systemtray");
|
||||
panel->addApplet("digital-clock");
|
||||
}
|
||||
|
||||
Containment* Corona::containmentForScreen(int screen) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user