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

* Generally prioritize resolving newer queries to make the GUI feel more responsive.

This commit is contained in:
Christian Muehlhaeuser 2011-08-11 18:10:06 +02:00
parent 6d82ae0c4d
commit d7100c0e8e
2 changed files with 4 additions and 4 deletions

View File

@ -66,9 +66,9 @@ public:
}
public slots:
void resolve( const query_ptr& q, bool prioritized = false, bool temporaryQuery = false );
void resolve( const QList<query_ptr>& qlist, bool prioritized = false, bool temporaryQuery = false );
void resolve( QID qid, bool prioritized = false, bool temporaryQuery = false );
void resolve( const query_ptr& q, bool prioritized = true, bool temporaryQuery = false );
void resolve( const QList<query_ptr>& qlist, bool prioritized = true, bool temporaryQuery = false );
void resolve( QID qid, bool prioritized = true, bool temporaryQuery = false );
void start();
void stop();

View File

@ -116,7 +116,7 @@ PlaylistModel::loadPlaylist( const Tomahawk::playlist_ptr& playlist, bool loadEn
m_waitingForResolved.clear();
foreach( const plentry_ptr& entry, entries )
{
qDebug() << entry->query()->toString();
// qDebug() << entry->query()->toString();
plitem = new TrackModelItem( entry, m_rootItem );
plitem->index = createIndex( m_rootItem->children.count() - 1, 0, plitem );