#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 <<