summaryrefslogtreecommitdiffstats
path: root/knode/headerview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/headerview.cpp')
-rw-r--r--knode/headerview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knode/headerview.cpp b/knode/headerview.cpp
index 78b46a4cf..c3fa53073 100644
--- a/knode/headerview.cpp
+++ b/knode/headerview.cpp
@@ -601,14 +601,14 @@ void KNHeaderViewToolTip::maybeTip( const TQPoint &p )
if ( !item->showToolTip( column ) )
return;
- const TQRect tqitemRect = listView->tqitemRect( item );
- if ( !tqitemRect.isValid() )
+ const TQRect itemRect = listView->itemRect( item );
+ if ( !itemRect.isValid() )
return;
const TQRect headerRect = listView->header()->sectionRect( column );
if ( !headerRect.isValid() )
return;
- tip( TQRect( headerRect.left(), tqitemRect.top(), headerRect.width(), tqitemRect.height() ),
+ tip( TQRect( headerRect.left(), itemRect.top(), headerRect.width(), itemRect.height() ),
TQStyleSheet::escape( item->text( column ) ) );
}