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

List:       kde-commits
Subject:    branches/KDE/3.4/kdelibs/kdeui
From:       Pascal Létourneau <pletourn () globetrotter ! net>
Date:       2005-05-15 21:54:01
Message-ID: 1116194041.339951.796.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 414391 by pletourn:

Make the test more robust


 M  +1 -1      branches/KDE/3.4/kdelibs/kdeui/ktoolbarbutton.cpp  


--- branches/KDE/3.4/kdelibs/kdeui/ktoolbarbutton.cpp #414390:414391
@@ -655,7 +655,7 @@
   emit clicked( d->m_id );
 
   // emit buttonClicked when the button was clicked while being in an extension popupmenu
-  if ( d->m_parent && !d->m_parent->rect().contains( geometry() ) ) {
+  if ( d->m_parent && !d->m_parent->rect().contains( geometry().center() ) ) {
     ButtonState state = KApplication::keyboardMouseState();
     if ( ( state & MouseButtonMask ) == NoButton )
       state = ButtonState( LeftButton | state );
[prev in list] [next in list] [prev in thread] [next in thread] 

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