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:
committed by
Michael Zanetti
parent
2de9880365
commit
fafa3eab15
@@ -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;
|
||||
|
Reference in New Issue
Block a user