mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-02 20:28:14 +02:00
Simpler Pipeline code.
This commit is contained in:
@@ -363,21 +363,22 @@ Pipeline::reportResults( QID qid, const QList< result_ptr >& results )
|
|||||||
cleanResults << r;
|
cleanResults << r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
addResultsToQuery( q, cleanResults );
|
||||||
if ( !httpResults.isEmpty() )
|
if ( !httpResults.isEmpty() )
|
||||||
{
|
{
|
||||||
const ResultUrlChecker* checker = new ResultUrlChecker( q, httpResults );
|
const ResultUrlChecker* checker = new ResultUrlChecker( q, httpResults );
|
||||||
connect( checker, SIGNAL( done() ), SLOT( onResultUrlCheckerDone() ) );
|
connect( checker, SIGNAL( done() ), SLOT( onResultUrlCheckerDone() ) );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
decQIDState( q );
|
||||||
|
}
|
||||||
|
|
||||||
addResultsToQuery( q, cleanResults );
|
|
||||||
/* if ( q->solved() && !q->isFullTextQuery() )
|
/* if ( q->solved() && !q->isFullTextQuery() )
|
||||||
{
|
{
|
||||||
setQIDState( q, 0 );
|
setQIDState( q, 0 );
|
||||||
return;
|
return;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
if ( httpResults.isEmpty() )
|
|
||||||
decQIDState( q );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user