From dd1d051b9f5aeda0b6c99d334f28d5fef201b3d1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:47:27 +0900 Subject: Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro --- src/linklabel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/linklabel.cpp') diff --git a/src/linklabel.cpp b/src/linklabel.cpp index 96c78e5..6663f97 100644 --- a/src/linklabel.cpp +++ b/src/linklabel.cpp @@ -453,7 +453,7 @@ void LinkDisplay::paint(TQPainter *painter, int x, int y, int width, int height, int pixmapY = (height - pixmap.height()) / 2; // Draw the button (if any) and the icon: if (isHovered) - kapp->style().tqdrawPrimitive(TQStyle::PE_ButtonCommand, painter, TQRect(-1, -1, iconPreviewWidth + 2*BUTTON_MARGIN, height + 2), + kapp->style().drawPrimitive(TQStyle::PE_ButtonCommand, painter, TQRect(-1, -1, iconPreviewWidth + 2*BUTTON_MARGIN, height + 2), colorGroup, TQStyle::Style_Enabled | (isIconButtonHovered ? TQStyle::Style_MouseOver : 0)); painter->drawPixmap(x + BUTTON_MARGIN - 1 + pixmapX, y + pixmapY, pixmap); -- cgit v1.2.3