1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01: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
{
// Q_ASSERT( false );
// qDebug() << "We don't support non-servent / non-file result-hints yet.";
res = Tomahawk::result_ptr( new Tomahawk::Result() );
qDebug() << "We don't support non-servent / non-file result-hints yet.";
/* res = Tomahawk::result_ptr( new Tomahawk::Result() );
s = SourceList::instance()->webSource();
res->setUrl( url );
res->setCollection( s->collection() );
@ -565,7 +565,7 @@ DatabaseImpl::resultFromHint( const Tomahawk::query_ptr& origquery )
res->setTrack( origquery->track() );
res->setDuration( origquery->duration() );
res->setFriendlySource( url );
return res;
return res;*/
}
res = Tomahawk::result_ptr( new Tomahawk::Result() );