mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-03 20:57:52 +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
|
||||
Pipeline::shunt( const query_ptr& q )
|
||||
{
|
||||
if( q->solved() )
|
||||
if ( q->solved() )
|
||||
{
|
||||
qDebug() << "Query solved, pipeline aborted:" << q->toString()
|
||||
<< "numresults:" << q->results().length();
|
||||
|
@@ -90,7 +90,10 @@ Query::resultUnavailable()
|
||||
}
|
||||
|
||||
if ( m_results.isEmpty() ) // FIXME proper score checking
|
||||
{
|
||||
m_solved = false;
|
||||
emit solvedStateChanged( false );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user