summaryrefslogtreecommitdiffstats
path: root/src/linklabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/linklabel.cpp')
-rw-r--r--src/linklabel.cpp2
1 files changed, 1 insertions, 1 deletions
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);