summaryrefslogtreecommitdiffstats
path: root/konversation/src/linkaddressbook/nicksonlinetooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konversation/src/linkaddressbook/nicksonlinetooltip.cpp')
-rw-r--r--konversation/src/linkaddressbook/nicksonlinetooltip.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/konversation/src/linkaddressbook/nicksonlinetooltip.cpp b/konversation/src/linkaddressbook/nicksonlinetooltip.cpp
index 6315e10..9c4df71 100644
--- a/konversation/src/linkaddressbook/nicksonlinetooltip.cpp
+++ b/konversation/src/linkaddressbook/nicksonlinetooltip.cpp
@@ -51,17 +51,17 @@ namespace Konversation
if(!nickInfo )
return;
TQString toolTip;
- TQRect tqitemRect = m_listView->tqitemRect( item );
+ TQRect itemRect = m_listView->itemRect( item );
uint leftMargin = m_listView->treeStepSize() *
( item->depth() + ( m_listView->rootIsDecorated() ? 1 : 0 ) ) +
m_listView->itemMargin();
- uint xAdjust = tqitemRect.left() + leftMargin;
- uint yAdjust = tqitemRect.top();
+ uint xAdjust = itemRect.left() + leftMargin;
+ uint yAdjust = itemRect.top();
TQPoint relativePos( pos.x() - xAdjust, pos.y() - yAdjust );
toolTip = nickInfo->tooltip();
if(!toolTip.isEmpty())
- tip(tqitemRect, toolTip);
+ tip(itemRect, toolTip);
}
} // namespace Konversation