1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 16:29:43 +01:00

* Style fixes.

This commit is contained in:
Christian Muehlhaeuser 2012-12-01 00:30:39 +01:00
parent e58afe435d
commit 5d3a9e5932
2 changed files with 2 additions and 3 deletions

View File

@ -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 ) );
}
}
}

View File

@ -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";
}