mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* Style fixes.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user