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