[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdeui
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2005-03-29 16:58:03
Message-ID: 20050329165803.7E5E03CF () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Fix crash on Umbrello because they have a KToolBarButton whose parent is not a KToolBar
M +1 -1 ktoolbarbutton.cpp 1.89
--- kdelibs/kdeui/ktoolbarbutton.cpp #1.88:1.89
@@ -656,5 +656,5 @@ void KToolBarButton::slotClicked()
// emit buttonClicked when the button was clicked while being in an extension popupmenu
- if ( !d->m_parent->rect().contains( geometry() ) ) {
+ if ( d->m_parent && !d->m_parent->rect().contains( geometry() ) ) {
ButtonState state = KApplication::keyboardMouseState();
if ( ( state & MouseButtonMask ) == NoButton )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic