mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Request item repaint via PlayableItem.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user