Reduce memory usage - VERY slightly!!!!

This commit is contained in:
craig
2012-04-02 17:56:13 +00:00
parent 8be5676447
commit 2d657b4007
28 changed files with 212 additions and 213 deletions

View File

@@ -396,11 +396,9 @@ MusicLibraryItemRoot * MPDParseUtils::parseLibraryItems(const QByteArray &data)
}
MusicLibraryItemSong *songItem = new MusicLibraryItemSong(currentSong, albumItem);
albumItem->append(songItem);
albumItem->addGenre(currentSong.genre);
artistItem->addGenre(currentSong.genre);
songItem->addGenre(currentSong.genre);
rootItem->addGenre(currentSong.genre);
}
}