diff --git a/src/libtomahawk/audio/AudioEngine.cpp b/src/libtomahawk/audio/AudioEngine.cpp index ebdd2fce8..bb11d2770 100644 --- a/src/libtomahawk/audio/AudioEngine.cpp +++ b/src/libtomahawk/audio/AudioEngine.cpp @@ -902,7 +902,7 @@ AudioEngine::setCurrentTrack( const Tomahawk::result_ptr& result ) { if ( m_playlist ) { - m_playlist.data()->setCurrentIndex( m_playlist.data()->indexOfResult( result ) ); + m_playlist->setCurrentIndex( m_playlist->indexOfResult( result ) ); } } } diff --git a/src/libtomahawk/playlist/PlayableProxyModel.cpp b/src/libtomahawk/playlist/PlayableProxyModel.cpp index 541a9d5e0..21f5ffbac 100644 --- a/src/libtomahawk/playlist/PlayableProxyModel.cpp +++ b/src/libtomahawk/playlist/PlayableProxyModel.cpp @@ -627,10 +627,9 @@ PlayableProxyModel::setFilter( const QString& pattern ) void PlayableProxyModel::setCurrentIndex( const QModelIndex& index ) { - tDebug() << Q_FUNC_INFO << QThread::currentThread(); + tDebug() << Q_FUNC_INFO; m_model->setCurrentItem( mapToSource( index ) ); emit currentIndexChanged(); - tDebug() << Q_FUNC_INFO << QThread::currentThread() << "Finished"; }