mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
* Fixed TWK-670: Don't crash without a composer.
This commit is contained in:
parent
52531e9125
commit
c9b1daeba7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user