Remove the isContainment() just added as this would mean that non-containment
containments (wtf?) won't have their contextActions() displayed. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753478
This commit is contained in:
parent
95f836fd2e
commit
bc10b9a983
@ -211,7 +211,7 @@ Corona* Containment::corona() const
|
||||
void Containment::contextMenuEvent(QGraphicsSceneContextMenuEvent* event)
|
||||
{
|
||||
//kDebug() << "let's see if we manage to get a context menu here, huh";
|
||||
if (!isContainment() || !scene() || !KAuthorized::authorizeKAction("desktop_contextmenu")) {
|
||||
if (!scene() || !KAuthorized::authorizeKAction("desktop_contextmenu")) {
|
||||
Applet::contextMenuEvent(event);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user