mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Correctly call PlaylistInterface's base-method in TreeProxyModelPlaylistInterface::setCurrentIndex.
This commit is contained in:
@@ -70,6 +70,8 @@ TreeProxyModelPlaylistInterface::trackCount() const
|
||||
void
|
||||
TreeProxyModelPlaylistInterface::setCurrentIndex( qint64 index )
|
||||
{
|
||||
PlaylistInterface::setCurrentIndex( index );
|
||||
|
||||
PlayableItem* item = static_cast<PlayableItem*>( (void*)index );
|
||||
if ( index < 0 || !item )
|
||||
{
|
||||
|
Reference in New Issue
Block a user