From 3bb0e7d3d01ec95f06c64e3b6e93fefd6a8a2194 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 6 Feb 2014 12:12:43 +0100 Subject: [PATCH] use the config of the applet parent of containment that's the systray specific hack --- src/plasma/private/applet_p.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plasma/private/applet_p.cpp b/src/plasma/private/applet_p.cpp index 2dc3a3083..26d48e306 100644 --- a/src/plasma/private/applet_p.cpp +++ b/src/plasma/private/applet_p.cpp @@ -360,8 +360,8 @@ KConfigGroup *AppletPrivate::mainConfigGroup() Containment *c = q->containment(); Plasma::Applet *parentApplet = 0; - if (c && c->corona()) { - parentApplet = qobject_cast(c->corona()->parent()); + if (c) { + parentApplet = qobject_cast(c->parent()); } if (q->isContainment()) {