From 358226bdb14d907fb3a9b2327f7fab882e5aa285 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 25 Jun 2012 21:16:31 +0200 Subject: [PATCH] * No need to manuall set fake query's results. --- src/libtomahawk/widgets/QueryLabel.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libtomahawk/widgets/QueryLabel.cpp b/src/libtomahawk/widgets/QueryLabel.cpp index a700883d8..7671ab87a 100644 --- a/src/libtomahawk/widgets/QueryLabel.cpp +++ b/src/libtomahawk/widgets/QueryLabel.cpp @@ -210,11 +210,7 @@ QueryLabel::setResult( const Tomahawk::result_ptr& result ) if ( m_result.isNull() || m_result.data() != result.data() ) { m_result = result; - m_query = m_result->toQuery(); - QList rl; - rl << m_result; - m_query->addResults( rl ); updateLabel();