mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
* Fixed TWK-670: Don't crash without a composer.
This commit is contained in:
@@ -159,7 +159,9 @@ Result::toVariant() const
|
||||
m.insert( "score", score() );
|
||||
m.insert( "sid", id() );
|
||||
m.insert( "discnumber", discnumber() );
|
||||
m.insert( "composer", composer()->name() );
|
||||
|
||||
if ( !composer().isNull() )
|
||||
m.insert( "composer", composer()->name() );
|
||||
|
||||
return m;
|
||||
}
|
||||
|
Reference in New Issue
Block a user