1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 21:57:41 +02:00

* Don't use non-file / non-servent resultHints for now.

This commit is contained in:
Christian Muehlhaeuser
2011-05-07 23:54:30 +02:00
parent 1b74430ea2
commit 5294922a02

View File

@@ -553,8 +553,8 @@ DatabaseImpl::resultFromHint( const Tomahawk::query_ptr& origquery )
else else
{ {
// Q_ASSERT( false ); // Q_ASSERT( false );
// qDebug() << "We don't support non-servent / non-file result-hints yet."; qDebug() << "We don't support non-servent / non-file result-hints yet.";
res = Tomahawk::result_ptr( new Tomahawk::Result() ); /* res = Tomahawk::result_ptr( new Tomahawk::Result() );
s = SourceList::instance()->webSource(); s = SourceList::instance()->webSource();
res->setUrl( url ); res->setUrl( url );
res->setCollection( s->collection() ); res->setCollection( s->collection() );
@@ -565,7 +565,7 @@ DatabaseImpl::resultFromHint( const Tomahawk::query_ptr& origquery )
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() );