mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Notify of resolving finished when timeout is reached for resolvers that don't report back
This commit is contained in:
@@ -174,7 +174,7 @@ Pipeline::reportResults( QID qid, const QList< result_ptr >& results )
|
|||||||
const query_ptr& q = m_qids.value( qid );
|
const query_ptr& q = m_qids.value( qid );
|
||||||
if ( !results.isEmpty() )
|
if ( !results.isEmpty() )
|
||||||
{
|
{
|
||||||
//qDebug() << Q_FUNC_INFO << qid;
|
// qDebug() << Q_FUNC_INFO << qid;
|
||||||
|
|
||||||
q->addResults( results );
|
q->addResults( results );
|
||||||
foreach( const result_ptr& r, q->results() )
|
foreach( const result_ptr& r, q->results() )
|
||||||
@@ -295,6 +295,8 @@ Pipeline::shunt( const query_ptr& q )
|
|||||||
{
|
{
|
||||||
qDebug() << "Reached end of pipeline for:" << q->toString();
|
qDebug() << "Reached end of pipeline for:" << q->toString();
|
||||||
setQIDState( q, 0 );
|
setQIDState( q, 0 );
|
||||||
|
|
||||||
|
q->onResolvingFinished();
|
||||||
}
|
}
|
||||||
|
|
||||||
shuntNext();
|
shuntNext();
|
||||||
|
Reference in New Issue
Block a user