mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* Prioritize query for resolving when requesting to play a still unresolved query.
This commit is contained in:
parent
2fefdf8118
commit
2b3f850259
@ -36,6 +36,7 @@
|
||||
#include "HeadlessCheck.h"
|
||||
#include "infosystem/InfoSystem.h"
|
||||
#include "Album.h"
|
||||
#include "Pipeline.h"
|
||||
|
||||
#include "utils/Logger.h"
|
||||
|
||||
@ -605,6 +606,8 @@ AudioEngine::playItem( Tomahawk::playlistinterface_ptr playlist, const Tomahawk:
|
||||
}
|
||||
else
|
||||
{
|
||||
Pipeline::instance()->resolve( query );
|
||||
|
||||
NewClosure( query.data(), SIGNAL( resolvingFinished( bool ) ),
|
||||
const_cast<AudioEngine*>(this), SLOT( playItem( Tomahawk::playlistinterface_ptr, Tomahawk::query_ptr ) ), playlist, query );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user