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:
@@ -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 );
|
||||||
|
|
||||||
|
@@ -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();
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user