[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kicker/core
From: Waldo Bastian <bastian () kde ! org>
Date: 2003-10-25 15:50:39
[Download RAW message or body]
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);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic