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