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();
|
Containment *c = q->containment();
|
||||||
Plasma::Applet *parentApplet = 0;
|
Plasma::Applet *parentApplet = 0;
|
||||||
if (c && c->corona()) {
|
if (c) {
|
||||||
parentApplet = qobject_cast<Plasma::Applet *>(c->corona()->parent());
|
parentApplet = qobject_cast<Plasma::Applet *>(c->parent());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (q->isContainment()) {
|
if (q->isContainment()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user