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