From 95f836fd2e0259463e7cdfb3efd2c01af391683c Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Thu, 27 Dec 2007 15:19:01 +0000 Subject: [PATCH] Also change the other direct QGraphicsItem calls to Applet calls in contextMenuEvent() svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753476 --- containment.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/containment.cpp b/containment.cpp index efb709520..c5589b48b 100644 --- a/containment.cpp +++ b/containment.cpp @@ -238,7 +238,7 @@ void Containment::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) if (!applet) { if (!scene() || (static_cast(scene())->isImmutable() && !KAuthorized::authorizeKAction("unlock_desktop"))) { //kDebug() << "immutability"; - QGraphicsItem::contextMenuEvent(event); + Applet::contextMenuEvent(event); return; } @@ -248,7 +248,7 @@ void Containment::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) if (actions.count() < 1) { //kDebug() << "no applet, but no actions"; - QGraphicsItem::contextMenuEvent(event); + Applet::contextMenuEvent(event); return; } @@ -288,7 +288,7 @@ void Containment::contextMenuEvent(QGraphicsSceneContextMenuEvent* event) } if (!hasEntries) { - QGraphicsItem::contextMenuEvent(event); + Applet::contextMenuEvent(event); kDebug() << "no entries"; return; }