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

BUG: 226877

svn path=/trunk/KDE/kdebase/workspace/; revision=1103492
This commit is contained in:
Martin Gräßlin 2010-03-15 08:39:40 +00:00
parent 54c264bba0
commit 8d2178ad5d

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 )