[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KDE 2.2 Beta1: Default Style library crashes occasionally.
From: Rik Hemsley <rik () kde ! org>
Date: 2001-06-28 19:04:46
[Download RAW message or body]
#if Thomas Leitner
> // Intensify the image if required
> if (isMouseOver) {
> QBitmap mask = *btnpix.mask();
> btnpix.detach();
> btnpix = KPixmapEffect::intensity(btnpix, 0.8);
> btnpix.setMask( mask );
> }
>
> Any idea anyone what could cause a crash here?
Yes, btnpix.mask() may return 0, and the value isn't checked. Very
naughty programming.
Rik
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic