From 517ebd721e12e3a4a3430ac3cba8ce99b33c5b0e Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 23 Oct 2011 21:30:40 +0200 Subject: Improve group-header layout - Apply a dynamic width - Use a height that depends on the style - Cleanup some interfaces and replace xxxBoundingRect() by xxxRect() --- src/views/dolphinview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/views/dolphinview.cpp') diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 5ff3cb26d..961651b69 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -846,7 +846,7 @@ void DolphinView::slotItemHovered(int index) const KFileItem item = fileItemModel()->fileItem(index); if (GeneralSettings::showToolTips()) { - QRectF itemRect = m_container->controller()->view()->itemBoundingRect(index); + QRectF itemRect = m_container->controller()->view()->itemRect(index); const QPoint pos = m_container->mapToGlobal(itemRect.topLeft().toPoint()); itemRect.moveTo(pos); -- cgit v1.3