1
0
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:
Christian Muehlhaeuser
2012-02-03 17:09:44 +01:00
parent 52531e9125
commit c9b1daeba7

View File

@@ -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;