1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

* Query's toString() supports fulltext search queries, now.

This commit is contained in:
Christian Muehlhaeuser 2011-12-05 21:07:09 +01:00
parent 30cabb304c
commit 919644d07a

View File

@ -426,7 +426,10 @@ Query::toVariant() const
QString
Query::toString() const
{
return QString( "Query(%1, %2 - %3)" ).arg( id() ).arg( artist() ).arg( track() );
if ( !isFullTextQuery() )
return QString( "Query(%1, %2 - %3)" ).arg( id() ).arg( artist() ).arg( track() );
else
return QString( "Query(%1, Fulltext: %2)" ).arg( id() ).arg( fullTextQuery() );
}