[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenox/konq-embed/src
From:       Jan Tschirschwitz <j.tschirschwitz () road-gmbh ! de>
Date:       2007-04-17 12:28:40
Message-ID: 1176812920.541412.25442.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 654957 by tschirschwitz:

- The popupmenu of the PopupAction needs a parent of type ToolBar of MenuBar 
  for calculating the correct size and position when the menu is getting to 
  large and must be wrapped to more than one column.



 M  +2 -2      mainwindow_road.cc  


--- trunk/kdenox/konq-embed/src/mainwindow_road.cc #654956:654957
@@ -423,9 +423,9 @@
 {
     QToolBar *tb = new QToolBar( this, "mainToolbar" );
 
-    m_popupMainMenuAction = new PopupAction( initMainMenu( this ), QString::null,
+    m_popupMainMenuAction = new PopupAction( initMainMenu( tb ), QString::null,
                           getPng( "menu_road" ), QString::null, 
-                          CTRL + Key_Down, this );
+                          CTRL + Key_Down, tb );
     m_popupMainMenuAction->addTo( tb );
 
     m_fullscreenOff = new QToolButton( getPng( "nofullscreen" ), QString::null,
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic