1
0
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:
Christian Muehlhaeuser 2012-12-04 03:14:44 +01:00
parent fa0eaee3c8
commit 4467202c3b

View File

@ -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 )
{