mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* No need to manuall set fake query's results.
This commit is contained in:
@@ -210,11 +210,7 @@ QueryLabel::setResult( const Tomahawk::result_ptr& result )
|
|||||||
if ( m_result.isNull() || m_result.data() != result.data() )
|
if ( m_result.isNull() || m_result.data() != result.data() )
|
||||||
{
|
{
|
||||||
m_result = result;
|
m_result = result;
|
||||||
|
|
||||||
m_query = m_result->toQuery();
|
m_query = m_result->toQuery();
|
||||||
QList<Tomahawk::result_ptr> rl;
|
|
||||||
rl << m_result;
|
|
||||||
m_query->addResults( rl );
|
|
||||||
|
|
||||||
updateLabel();
|
updateLabel();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user