Fix panel button label painting when using a background image for Kicker

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
feat/minor-improvements
Mavridis Philippe 1 year ago
parent 8a05c7576b
commit 29920b1323
No known key found for this signature in database
GPG Key ID: 93F66F98F906147D

@ -44,7 +44,7 @@ void TastyButton::drawButton( TQPainter * p )
{
const TQPixmap erasePix(size());
TQPainter buffPainter(&erasePix);
buffPainter.drawPixmap(TQPoint(0, 0), *parentWidget()->erasePixmap(), geometry());
buffPainter.drawTiledPixmap(geometry(), *parentWidget()->erasePixmap());
buffPainter.end();
TQImage eraseImg = erasePix.convertToImage();

Loading…
Cancel
Save