1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-07 17:42:35 +02:00

* No need to manuall set fake query's results.

This commit is contained in:
Christian Muehlhaeuser 2012-06-25 21:16:31 +02:00
parent a9e0c3c460
commit 7fb6701e3e

View File

@ -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<Tomahawk::result_ptr> rl;
rl << m_result;
m_query->addResults( rl );
updateLabel();