mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-03 12:47:45 +02:00
* Set sources to unsolved when last source goes offline. Makes them re-resolve when one one comes back online.
This commit is contained in:
@@ -221,7 +221,7 @@ Pipeline::shuntNext()
|
|||||||
void
|
void
|
||||||
Pipeline::shunt( const query_ptr& q )
|
Pipeline::shunt( const query_ptr& q )
|
||||||
{
|
{
|
||||||
if( q->solved() )
|
if ( q->solved() )
|
||||||
{
|
{
|
||||||
qDebug() << "Query solved, pipeline aborted:" << q->toString()
|
qDebug() << "Query solved, pipeline aborted:" << q->toString()
|
||||||
<< "numresults:" << q->results().length();
|
<< "numresults:" << q->results().length();
|
||||||
|
@@ -90,7 +90,10 @@ Query::resultUnavailable()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( m_results.isEmpty() ) // FIXME proper score checking
|
if ( m_results.isEmpty() ) // FIXME proper score checking
|
||||||
|
{
|
||||||
|
m_solved = false;
|
||||||
emit solvedStateChanged( false );
|
emit solvedStateChanged( false );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user