[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_4_BRANCH: kdelibs/kdeui
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2005-03-29 16:59:58
Message-ID: 20050329165958.BB0F13CF () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Fix crash if m_parent is not a KToolBar like happens in Umbrello
Aproved by David Faure
M +1 -1 ktoolbarbutton.cpp 1.88.2.1
--- kdelibs/kdeui/ktoolbarbutton.cpp #1.88:1.88.2.1
@@ -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