Correctly handle mouse clicks in TabBox when there is an additional view.

BUG: 226877

svn path=/trunk/KDE/kdebase/workspace/; revision=1103492
icc-effect-5.14.5
Martin Gräßlin 2010-03-15 08:39:40 +00:00
parent 54c264bba0
commit 8d2178ad5d
1 changed files with 1 additions and 1 deletions

View File

@ -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 )