use the config of the applet parent of containment
that's the systray specific hack
This commit is contained in:
parent
29c72a9898
commit
3bb0e7d3d0
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user