1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 08:04:25 +02: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->setAlbum( Tomahawk::album_ptr( new Tomahawk::Album( 0, origquery->album(), res->artist() ) ) );
res->setTrack( origquery->track() ); res->setTrack( origquery->track() );
res->setDuration( origquery->duration() ); res->setDuration( origquery->duration() );
res->setFriendlySource( url ); res->setFriendlySource( url );*/
return res;*/
return res;
} }
res = Tomahawk::result_ptr( new Tomahawk::Result() ); res = Tomahawk::result_ptr( new Tomahawk::Result() );