mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* Call parent's base-method after changing the current index.
This commit is contained in:
parent
73ef7e2a4b
commit
926c8ad16b
@ -90,8 +90,6 @@ PlayableProxyModelPlaylistInterface::setCurrentIndex( qint64 index )
|
||||
if ( m_proxyModel.isNull() )
|
||||
return;
|
||||
|
||||
PlaylistInterface::setCurrentIndex( index );
|
||||
|
||||
PlayableItem* item = static_cast<PlayableItem*>( (void*)index );
|
||||
if ( index < 0 || !item )
|
||||
{
|
||||
@ -116,6 +114,8 @@ PlayableProxyModelPlaylistInterface::setCurrentIndex( qint64 index )
|
||||
m_shuffleHistory << queryAt( index );
|
||||
m_shuffleCache = QPersistentModelIndex();
|
||||
}
|
||||
|
||||
PlaylistInterface::setCurrentIndex( index );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user