1
0
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:
Christian Muehlhaeuser 2015-04-26 18:11:28 +02:00
parent f23e18192b
commit 3d52622fda

View File

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