mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 00:24:12 +02:00
* Fix result-hint crash.
This commit is contained in:
@@ -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() );
|
||||||
|
Reference in New Issue
Block a user