CVS commit by waba: Partial revert of previous commit since this was allegedly intended behavior: Alt-F1 pops up menu in middle of screen again. M +6 -15 kicker.cpp 1.36 --- kdebase/kicker/core/kicker.cpp #1.35:1.36 @@ -130,12 +130,4 @@ void Kicker::slotKMenuAccel() kMenu->initialize(); QPoint p; - if (kButton) - { - // Popup the K-menu above the button - kMenu->adjustSize(); - p = popupPosition( kButton->popupDirection(), kMenu, kButton ); - } - else - { // Popup the K-menu at the center of the screen. QDesktopWidget* desktop = KApplication::desktop(); @@ -144,5 +136,4 @@ void Kicker::slotKMenuAccel() // kMenu->rect() is not valid before showing, use sizeHint() p = r.center() - QRect( QPoint( 0, 0 ), kMenu->sizeHint()).center(); - } kMenu->popup(p);