mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 00:24:12 +02:00
More verbose Asserts
This commit is contained in:
@@ -61,7 +61,8 @@ Track::get( const QString& artist, const QString& track, const QString& album, i
|
||||
{
|
||||
if ( artist.trimmed().isEmpty() || track.trimmed().isEmpty() )
|
||||
{
|
||||
Q_ASSERT( false );
|
||||
tDebug() << "Artist:" << artist << "Track:" << track;
|
||||
Q_ASSERT_X( false , Q_FUNC_INFO, "Given artist or track is empty" );
|
||||
return track_ptr();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user