From 82a8ee68dd6f7eb94cd65c353a65aadf446ccd88 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 1 Oct 2009 01:21:52 +0000 Subject: [PATCH] we care about our immutablity, not scene immutability alone svn path=/trunk/KDE/kdelibs/; revision=1029909 --- containment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }