PATCH: kdelibs/kdeui/ktoolbarbutton.cpp

Martin Pley kde-core-devel at pley.org
Mon Nov 10 12:44:49 GMT 2003


Am Sonntag, 9. November 2003 22:26 schrieb Waldo Bastian:
> On Sat November 08 2003 19:18, Martin Pley wrote:
> > Patch below fixes a crash when using KToolBarButton with parent !=
> > KToolBar
> > If it's okay as it is, I'll commit.
>
> Why do you change:
> -    m_iconSize    = 0;
> +    m_iconSize    = IconSize( KIcon::Toolbar );

Uups. I'm sorry. You're right. It's superfluous.
I didn't see the "if ( d->m_iconSize == 0 )" in modeChange()

Martin





More information about the kde-core-devel mailing list