mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Call parent's base-method after changing the current index.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user