CollectionModel: Move model reset to regular model updates

This commit is contained in:
Jonas Kvinge
2025-06-09 02:24:53 +02:00
parent 950774f1c8
commit fba4f84fb6
3 changed files with 23 additions and 26 deletions

View File

@@ -25,12 +25,13 @@
class CollectionModelUpdate {
public:
enum class Type {
Reset,
AddReAddOrUpdate,
Add,
Update,
Remove,
};
explicit CollectionModelUpdate(const Type _type, const SongList &_songs);
explicit CollectionModelUpdate(const Type _type, const SongList &_songs = SongList());
Type type;
SongList songs;
};