--warnings; --deprecations;

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728720
This commit is contained in:
Aaron J. Seigo 2007-10-24 02:04:02 +00:00
parent 30afcb5ef9
commit 96712a50a8
2 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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