1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01:00

* Fix result-hint crash.

This commit is contained in:
Christian Muehlhaeuser 2011-05-08 02:27:56 +02:00
parent 942e5f892b
commit 1987b4c378

View File

@ -564,8 +564,9 @@ DatabaseImpl::resultFromHint( const Tomahawk::query_ptr& origquery )
res->setAlbum( Tomahawk::album_ptr( new Tomahawk::Album( 0, origquery->album(), res->artist() ) ) );
res->setTrack( origquery->track() );
res->setDuration( origquery->duration() );
res->setFriendlySource( url );
return res;*/
res->setFriendlySource( url );*/
return res;
}
res = Tomahawk::result_ptr( new Tomahawk::Result() );