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:
parent
e58afe435d
commit
5d3a9e5932
@ -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 ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user