diff --git a/containment.cpp b/containment.cpp index 369f3bd65..d4050504e 100644 --- a/containment.cpp +++ b/containment.cpp @@ -686,7 +686,7 @@ void ContainmentPrivate::appletActions(KMenu &desktopMenu, Applet *applet, bool } } - if (static_cast(q->scene())->immutability() == Mutable) { + if (q->immutability() == Mutable) { if (!desktopMenu.isEmpty()) { desktopMenu.addSeparator(); }