mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 15:47:38 +02:00
Don't abort resolving when query gets fully solved.
This commit is contained in:
@@ -368,11 +368,11 @@ Pipeline::reportResults( QID qid, const QList< result_ptr >& results )
|
|||||||
connect( checker, SIGNAL( done() ), SLOT( onResultUrlCheckerDone() ) );
|
connect( checker, SIGNAL( done() ), SLOT( onResultUrlCheckerDone() ) );
|
||||||
|
|
||||||
addResultsToQuery( q, cleanResults );
|
addResultsToQuery( q, cleanResults );
|
||||||
if ( q->solved() && !q->isFullTextQuery() )
|
/* if ( q->solved() && !q->isFullTextQuery() )
|
||||||
{
|
{
|
||||||
setQIDState( q, 0 );
|
setQIDState( q, 0 );
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if ( httpResults.isEmpty() )
|
if ( httpResults.isEmpty() )
|
||||||
decQIDState( q );
|
decQIDState( q );
|
||||||
@@ -421,11 +421,11 @@ Pipeline::onResultUrlCheckerDone()
|
|||||||
|
|
||||||
const query_ptr q = checker->query();
|
const query_ptr q = checker->query();
|
||||||
addResultsToQuery( q, checker->validResults() );
|
addResultsToQuery( q, checker->validResults() );
|
||||||
if ( q && !q->isFullTextQuery() )
|
/* if ( q && !q->isFullTextQuery() )
|
||||||
{
|
{
|
||||||
setQIDState( q, 0 );
|
setQIDState( q, 0 );
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
decQIDState( q );
|
decQIDState( q );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user