From 8d2178ad5d630a21b917b490b2fe001b59964066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 15 Mar 2010 08:39:40 +0000 Subject: [PATCH] Correctly handle mouse clicks in TabBox when there is an additional view. BUG: 226877 svn path=/trunk/KDE/kdebase/workspace/; revision=1103492 --- tabbox/tabboxview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabbox/tabboxview.cpp b/tabbox/tabboxview.cpp index ab881b024b..2313751068 100644 --- a/tabbox/tabboxview.cpp +++ b/tabbox/tabboxview.cpp @@ -339,7 +339,7 @@ void TabBoxView::configChanged() QModelIndex TabBoxView::indexAt( QPoint pos ) { - return m_tableView->indexAt( pos ); + return m_tableView->indexAt( m_tableView->mapFromParent( pos ) ); } void TabBoxView::setPreview( bool preview )