mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
* Correctly call PlaylistInterface's base-method in TreeProxyModelPlaylistInterface::setCurrentIndex.
This commit is contained in:
parent
fa0eaee3c8
commit
4467202c3b
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user