From 29920b1323955c55bbe66d833f10779a36ce12fe Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sun, 29 Oct 2023 18:09:46 +0200 Subject: [PATCH] Fix panel button label painting when using a background image for Kicker Signed-off-by: Mavridis Philippe --- src/tastybutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tastybutton.cpp b/src/tastybutton.cpp index 48bdb96..73a9dc3 100644 --- a/src/tastybutton.cpp +++ b/src/tastybutton.cpp @@ -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();