From 5d3a9e5932e430bd6168665822d97b63d677bc7c Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 1 Dec 2012 00:30:39 +0100 Subject: [PATCH] * Style fixes. --- src/libtomahawk/audio/AudioEngine.cpp | 2 +- src/libtomahawk/playlist/PlayableProxyModel.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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"; }