Don't call the actions for advanced settings twice,

looks like it's only needed to connect the triggered signal
from the parent menu.

svn path=/trunk/KDE/kdebase/workspace/; revision=578276
This commit is contained in:
Richard Lärkäng 2006-08-28 20:35:39 +00:00
parent ad3acbfa6e
commit 8e232fcf55

View file

@ -58,7 +58,6 @@ QMenu* Workspace::clientPopup()
advanced_popup = new QMenu( popup ); advanced_popup = new QMenu( popup );
advanced_popup->setFont(KGlobalSettings::menuFont()); advanced_popup->setFont(KGlobalSettings::menuFont());
connect( advanced_popup, SIGNAL( triggered(QAction*) ), this, SLOT( clientPopupActivated(QAction*) ) );
mKeepAboveOpAction = advanced_popup->addAction( i18n("Keep &Above Others") ); mKeepAboveOpAction = advanced_popup->addAction( i18n("Keep &Above Others") );
mKeepAboveOpAction->setIcon( SmallIconSet( "up" ) ); mKeepAboveOpAction->setIcon( SmallIconSet( "up" ) );