seperate applet and panel options in context menu

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783210
This commit is contained in:
Stephan Binner 2008-03-07 12:43:17 +00:00
parent 5ea3cb88e1
commit 30595bb415

View File

@ -314,6 +314,9 @@ void Containment::contextMenuEvent(QGraphicsSceneContextMenuEvent* event)
QList<QAction*> containmentActions = contextActions();
if (containmentActions.count() > 0) {
if (hasEntries) {
desktopMenu.addSeparator();
}
hasEntries = true;
QMenu *containmentActionMenu = &desktopMenu;