1
0
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:
Christian Muehlhaeuser 2013-04-17 04:09:47 +02:00
parent c0e41809e6
commit 618dff77e4

View File

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