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:
parent
54c264bba0
commit
8d2178ad5d
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ void TabBoxView::configChanged()
|
||||||
|
|
||||||
QModelIndex TabBoxView::indexAt( QPoint pos )
|
QModelIndex TabBoxView::indexAt( QPoint pos )
|
||||||
{
|
{
|
||||||
return m_tableView->indexAt( pos );
|
return m_tableView->indexAt( m_tableView->mapFromParent( pos ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void TabBoxView::setPreview( bool preview )
|
void TabBoxView::setPreview( bool preview )
|
||||||
|
|
Loading…
Reference in a new issue