From 463eb2bfd875e0ab165df8e247aa5dc12f999bfd Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 20 Jul 2011 04:53:43 +0200 Subject: [PATCH] * And even more Pipeline cleanups. --- src/libtomahawk/pipeline.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/libtomahawk/pipeline.cpp b/src/libtomahawk/pipeline.cpp index 29fabfad3..5005294f2 100644 --- a/src/libtomahawk/pipeline.cpp +++ b/src/libtomahawk/pipeline.cpp @@ -262,10 +262,6 @@ Pipeline::timeoutShunt( const query_ptr& q ) m_qidsTimeout.remove( q->id() ); shunt( q ); } - else - { - setQIDState( q, 0 ); - } } @@ -380,8 +376,8 @@ Pipeline::decQIDState( const Tomahawk::query_ptr& query ) else { // qDebug() << Q_FUNC_INFO << "removing" << query->id() << state; - if ( m_qidsState.remove( query->id() ) ) - qDebug() << "Queries running:" << m_qidsState.count(); + m_qidsState.remove( query->id() ); +// qDebug() << "Queries running:" << m_qidsState.count(); } return state;