mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 09:04:33 +02:00
When waiting for a query to resolve for playback, accept the earliest online result, preventing further playback delay.
This commit is contained in:
@@ -969,7 +969,7 @@ AudioEngine::playItem( Tomahawk::playlistinterface_ptr playlist, const Tomahawk:
|
|||||||
{
|
{
|
||||||
Pipeline::instance()->resolve( query );
|
Pipeline::instance()->resolve( query );
|
||||||
|
|
||||||
NewClosure( query.data(), SIGNAL( resolvingFinished( bool ) ),
|
NewClosure( query.data(), SIGNAL( resultsChanged() ),
|
||||||
const_cast<AudioEngine*>(this), SLOT( playItem( Tomahawk::playlistinterface_ptr, Tomahawk::query_ptr ) ), playlist, query );
|
const_cast<AudioEngine*>(this), SLOT( playItem( Tomahawk::playlistinterface_ptr, Tomahawk::query_ptr ) ), playlist, query );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user