summaryrefslogtreecommitdiffstats
path: root/src/linklabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/linklabel.cpp')
-rw-r--r--src/linklabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linklabel.cpp b/src/linklabel.cpp
index 5d81d13..6c6628c 100644
--- a/src/linklabel.cpp
+++ b/src/linklabel.cpp
@@ -441,8 +441,8 @@ void LinkDisplay::paint(TQPainter *painter, int x, int y, int width, int height,
else {
int iconSize = m_look->iconSize();
TQString iconName = (isHovered ? Global::openNoteIcon() : m_icon);
- KIcon::States iconState = (isIconButtonHovered ? KIcon::ActiveState : KIcon::DefaultState);
- pixmap = kapp->iconLoader()->loadIcon(iconName, KIcon::Desktop, iconSize, iconState, 0L, /*canReturnNull=*/false);
+ TDEIcon::States iconState = (isIconButtonHovered ? TDEIcon::ActiveState : TDEIcon::DefaultState);
+ pixmap = kapp->iconLoader()->loadIcon(iconName, TDEIcon::Desktop, iconSize, iconState, 0L, /*canReturnNull=*/false);
}
int iconPreviewWidth = TQMAX(m_look->iconSize(), (m_look->previewEnabled() ? m_preview.width() : 0));
int pixmapX = (iconPreviewWidth - pixmap.width()) / 2;