diff options
Diffstat (limited to 'kmail/folderviewtooltip.h')
-rw-r--r-- | kmail/folderviewtooltip.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/folderviewtooltip.h b/kmail/folderviewtooltip.h index 8e4f56ddd..096d22764 100644 --- a/kmail/folderviewtooltip.h +++ b/kmail/folderviewtooltip.h @@ -20,8 +20,8 @@ class FolderViewToolTip : public TQToolTip KMFolderTreeItem *item = dynamic_cast<KMFolderTreeItem*>( mListView->itemAt( point ) ); if ( !item ) return; - const TQRect tqitemRect = mListView->tqitemRect( item ); - if ( !tqitemRect.isValid() ) + const TQRect itemRect = mListView->itemRect( item ); + if ( !itemRect.isValid() ) return; const TQRect headerRect = mListView->header()->sectionRect( 0 ); if ( !headerRect.isValid() ) @@ -43,7 +43,7 @@ class FolderViewToolTip : public TQToolTip tipText += i18n("<br>Quota: %1").tqarg( info.toString() ); } - tip( TQRect( headerRect.left(), tqitemRect.top(), headerRect.width(), tqitemRect.height() ), tipText ); + tip( TQRect( headerRect.left(), itemRect.top(), headerRect.width(), itemRect.height() ), tipText ); } private: |