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:
parent
ad3acbfa6e
commit
8e232fcf55
1 changed files with 0 additions and 1 deletions
|
@ -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" ) );
|
||||||
|
|
Loading…
Reference in a new issue