use the config of the applet parent of containment

that's the systray specific hack
This commit is contained in:
Marco Martin 2014-02-06 12:12:43 +01:00
parent 29c72a9898
commit 3bb0e7d3d0

View File

@ -360,8 +360,8 @@ KConfigGroup *AppletPrivate::mainConfigGroup()
Containment *c = q->containment();
Plasma::Applet *parentApplet = 0;
if (c && c->corona()) {
parentApplet = qobject_cast<Plasma::Applet *>(c->corona()->parent());
if (c) {
parentApplet = qobject_cast<Plasma::Applet *>(c->parent());
}
if (q->isContainment()) {