Extra guard in Containment::corona in the special system tray case
REVIEW: 128754
This commit is contained in:
parent
22ba8186f0
commit
81a314c7a9
@ -317,7 +317,7 @@ Corona *Containment::corona() const
|
||||
//case in which this containment is child of an applet, hello systray :)
|
||||
} else {
|
||||
Plasma::Applet *parentApplet = qobject_cast<Plasma::Applet *>(parent());
|
||||
if (parentApplet) {
|
||||
if (parentApplet && parentApplet->containment()) {
|
||||
return parentApplet->containment()->corona();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user