1
0
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:
Christian Muehlhaeuser 2012-06-03 21:23:36 +02:00
parent 2fefdf8118
commit 2b3f850259

View File

@ -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 );
}