mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-20 04:41:36 +02:00
Fixed Pipeline.
This commit is contained in:
@@ -337,17 +337,13 @@ Pipeline::reportResults( QID qid, const QList< result_ptr >& results )
|
|||||||
return;
|
return;
|
||||||
if ( !d->qids.contains( qid ) )
|
if ( !d->qids.contains( qid ) )
|
||||||
{
|
{
|
||||||
if ( !results.isEmpty() )
|
if ( results.length() > 0 && !results[0]->resolvedBy().isNull() )
|
||||||
{
|
{
|
||||||
ResultProvider* resolvedBy = results[0]->resolvedBy();
|
tDebug() << "Result arrived too late for:" << qid << "by" << results[0]->resolvedBy()->name();
|
||||||
if ( resolvedBy )
|
}
|
||||||
{
|
else
|
||||||
tDebug() << "Result arrived too late for:" << qid << "by" << resolvedBy->name();
|
{
|
||||||
}
|
tDebug() << "Result arrived too late for:" << qid;
|
||||||
else
|
|
||||||
{
|
|
||||||
tDebug() << "Result arrived too late for:" << qid;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user