mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
* Don't use non-file / non-servent resultHints for now.
This commit is contained in:
@@ -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() );
|
||||||
|
Reference in New Issue
Block a user