Commit 7d811590 authored by Matthieu Gallien's avatar Matthieu Gallien 🎵
Browse files

replace some bool usage in ViewManager by enum

parent 18fcf022
......@@ -58,8 +58,12 @@ public:
Q_ENUM(SortOrder)
static const bool SingleAlbum = true;
static const bool MultipleAlbum = false;
enum AlbumCardinality {
SingleAlbum = true,
MultipleAlbum = false,
};
Q_ENUM(AlbumCardinality)
enum AlbumViewStyle {
NoDiscHeaders,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment