diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:47:27 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 22:30:44 +0900 |
| commit | 700314549eb463a1a193ba9f840a66466b8bfdc8 (patch) | |
| tree | 13051a37b00c8817024f42e2b9610161cd076b10 /src/linklabel.cpp | |
| parent | 928b97c5a9ac3cad96b21b1c9e70b4699811be25 (diff) | |
| download | basket-70031454.tar.gz basket-70031454.zip | |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit dd1d051b9f5aeda0b6c99d334f28d5fef201b3d1)
Diffstat (limited to 'src/linklabel.cpp')
| -rw-r--r-- | src/linklabel.cpp | 2 |
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); |
