From 1987b4c378a7a2fa7648d59c028b0372d3161564 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 8 May 2011 02:27:56 +0200 Subject: [PATCH] * Fix result-hint crash. --- src/libtomahawk/database/databaseimpl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/database/databaseimpl.cpp b/src/libtomahawk/database/databaseimpl.cpp index b96859edf..269ac78d0 100644 --- a/src/libtomahawk/database/databaseimpl.cpp +++ b/src/libtomahawk/database/databaseimpl.cpp @@ -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() );