From 4467202c3bb66ffd2185ac396ae0acfe2bcf0a1a Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser <muesli@gmail.com> Date: Tue, 4 Dec 2012 03:14:44 +0100 Subject: [PATCH] * Correctly call PlaylistInterface's base-method in TreeProxyModelPlaylistInterface::setCurrentIndex. --- src/libtomahawk/playlist/TreeProxyModelPlaylistInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/playlist/TreeProxyModelPlaylistInterface.cpp b/src/libtomahawk/playlist/TreeProxyModelPlaylistInterface.cpp index 54e2b25c5..079b4821f 100644 --- a/src/libtomahawk/playlist/TreeProxyModelPlaylistInterface.cpp +++ b/src/libtomahawk/playlist/TreeProxyModelPlaylistInterface.cpp @@ -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 ) {