1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-08 21:20:45 +02:00

* Add an assert for Jason.

This commit is contained in:
Christian Muehlhaeuser
2012-07-20 14:42:22 +02:00
committed by Michael Zanetti
parent 2de9880365
commit fafa3eab15

View File

@@ -83,7 +83,10 @@ query_ptr
Query::get( const QString& artist, const QString& track, const QString& album, const QID& qid, bool autoResolve )
{
if ( artist.trimmed().isEmpty() || track.trimmed().isEmpty() )
{
Q_ASSERT( false );
return query_ptr();
}
if ( qid.isEmpty() )
autoResolve = false;