1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 17:43:59 +02:00

* We should still remove the query from the pending list in Pipeline.

This commit is contained in:
Christian Muehlhaeuser
2011-08-09 01:59:57 +02:00
parent ba0c21e111
commit 304981c28b
3 changed files with 6 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ PipelineStatusView::PipelineStatusView( AnimatedSplitter* parent )
void void
PipelineStatusView::onPipelineUpdate( const query_ptr& query ) PipelineStatusView::onPipelineUpdate( const query_ptr& query )
{ {
qDebug() << Q_FUNC_INFO; tDebug() << Q_FUNC_INFO << query.isNull();
QTreeWidgetItem* ti = m_tree->invisibleRootItem()->child( 0 ); QTreeWidgetItem* ti = m_tree->invisibleRootItem()->child( 0 );

View File

@@ -289,6 +289,10 @@ Pipeline::shunt( const query_ptr& q )
if ( r->timeout() > 0 ) if ( r->timeout() > 0 )
new FuncTimeout( r->timeout(), boost::bind( &Pipeline::timeoutShunt, this, q ), this ); new FuncTimeout( r->timeout(), boost::bind( &Pipeline::timeoutShunt, this, q ), this );
} }
else
{
setQIDState( q, 0 );
}
shuntNext(); shuntNext();
} }

View File

@@ -169,6 +169,7 @@ Query::removeResult( const Tomahawk::result_ptr& result )
void void
Query::onResolvingFinished() Query::onResolvingFinished()
{ {
tDebug() << "Finished resolving:" << toString();
if ( !m_resolveFinished ) if ( !m_resolveFinished )
{ {
m_resolveFinished = true; m_resolveFinished = true;