1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-05 00:22:31 +02:00

Fix condition to check number of active queries

This commit is contained in:
Anton Romanov 2015-05-28 15:16:19 -07:00
parent bc86cdbe08
commit 8b3b48541e

View File

@ -515,7 +515,7 @@ Pipeline::shuntNext()
}
// Check if we are ready to dispatch more queries
if ( d->qidsState.count() >= d->maxConcurrentQueries )
if ( activeQueryCount() >= d->maxConcurrentQueries )
return;
/*