[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: ktoolbarbutton patch
From: Reginald Stadlbauer <reggie () trolltech ! com>
Date: 2000-08-16 18:50:14
[Download RAW message or body]
On Wed, 16 Aug 2000, Werner Trobin wrote:
> On Wed, 16 Aug 2000, Reginald Stadlbauer wrote:
> > Hi!
> > IN KPresenter and in some other places, sometimes the pixmaps of
> > KToolBarButtons disappeared, when changing the text of the action. I
> > couldn't really figure out the problem, but following patch seems to fix
> > it. Can I commit?
> >
> > [reggie@piefke kdeui]$ cvs -z9 diff
> > cvs -z9 comcvs server: Diffing .
> > Index: ktoolbarbutton.cpp
> > ===================================================================
> > RCS file: /home/kde/kdelibs/kdeui/ktoolbarbutton.cpp,v
> > retrieving revision 1.32
> > diff -u -r1.32 ktoolbarbutton.cpp
> > --- ktoolbarbutton.cpp 2000/07/12 17:50:35 1.32
> > +++ ktoolbarbutton.cpp 2000/08/16 18:37:51
> > @@ -275,8 +275,9 @@
> > void KToolBarButton::setText( const QString& text)
> > {
> > d->setText(text);
> > - repaint (false);
> > QButton::setText( text );
> > + QButton::setPixmap( isEnabled() ? defaultPixmap : disabledPixmap );
> > + repaint (false);
> > }
>
> Yessss - *please* do so - this bug is really annoying :)))
> Thank you!
Done.
--
Reggie (reggie@trolltech.com)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic