mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
* Generally prioritize resolving newer queries to make the GUI feel more responsive.
This commit is contained in:
@@ -66,9 +66,9 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void resolve( const query_ptr& q, 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 = false, bool temporaryQuery = false );
|
void resolve( const QList<query_ptr>& qlist, bool prioritized = true, bool temporaryQuery = false );
|
||||||
void resolve( QID qid, bool prioritized = false, bool temporaryQuery = false );
|
void resolve( QID qid, bool prioritized = true, bool temporaryQuery = false );
|
||||||
|
|
||||||
void start();
|
void start();
|
||||||
void stop();
|
void stop();
|
||||||
|
@@ -116,7 +116,7 @@ PlaylistModel::loadPlaylist( const Tomahawk::playlist_ptr& playlist, bool loadEn
|
|||||||
m_waitingForResolved.clear();
|
m_waitingForResolved.clear();
|
||||||
foreach( const plentry_ptr& entry, entries )
|
foreach( const plentry_ptr& entry, entries )
|
||||||
{
|
{
|
||||||
qDebug() << entry->query()->toString();
|
// qDebug() << entry->query()->toString();
|
||||||
plitem = new TrackModelItem( entry, m_rootItem );
|
plitem = new TrackModelItem( entry, m_rootItem );
|
||||||
plitem->index = createIndex( m_rootItem->children.count() - 1, 0, plitem );
|
plitem->index = createIndex( m_rootItem->children.count() - 1, 0, plitem );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user