1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 09:04:33 +02:00

Merge remote-tracking branch 'origin' into phonon

This commit is contained in:
Christian Muehlhaeuser
2011-03-16 15:22:06 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,8 @@ Album::get( unsigned int id, const QString& name, const Tomahawk::artist_ptr& ar
}
album_ptr a = album_ptr( new Album( id, name, artist ) );
s_albums.insert( id, a );
if ( id > 0 )
s_albums.insert( id, a );
return a;
}

View File

@@ -25,7 +25,6 @@ Artist::get( unsigned int id, const QString& name )
}
artist_ptr a = artist_ptr( new Artist( id, name ) );
if ( id > 0 )
s_artists.insert( id, a );