mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* Request item repaint via PlayableItem.
This commit is contained in:
parent
c0e41809e6
commit
618dff77e4
@ -268,7 +268,8 @@ TreeItemDelegate::editorEvent( QEvent* event, QAbstractItemModel* model, const Q
|
||||
|
||||
if ( m_hoveringOver != index )
|
||||
{
|
||||
emit updateIndex( m_hoveringOver );
|
||||
PlayableItem* item = m_model->sourceModel()->itemFromIndex( m_model->mapToSource( index ) );
|
||||
item->requestRepaint();
|
||||
m_hoveringOver = index;
|
||||
emit updateIndex( m_hoveringOver );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user