From d7100c0e8e26053fd296820f28c12594ff362a21 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 11 Aug 2011 18:10:06 +0200 Subject: [PATCH] * Generally prioritize resolving newer queries to make the GUI feel more responsive. --- src/libtomahawk/pipeline.h | 6 +++--- src/libtomahawk/playlist/playlistmodel.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libtomahawk/pipeline.h b/src/libtomahawk/pipeline.h index 599817572..df0c32c19 100644 --- a/src/libtomahawk/pipeline.h +++ b/src/libtomahawk/pipeline.h @@ -66,9 +66,9 @@ public: } public slots: - void resolve( const query_ptr& q, bool prioritized = false, bool temporaryQuery = false ); - void resolve( const QList& 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& qlist, bool prioritized = true, bool temporaryQuery = false ); + void resolve( QID qid, bool prioritized = true, bool temporaryQuery = false ); void start(); void stop(); diff --git a/src/libtomahawk/playlist/playlistmodel.cpp b/src/libtomahawk/playlist/playlistmodel.cpp index 43cd42b00..4cbe80019 100644 --- a/src/libtomahawk/playlist/playlistmodel.cpp +++ b/src/libtomahawk/playlist/playlistmodel.cpp @@ -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 );