From 6b015fba7b178b33994962730f27d6d82f47f7f9 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Wed, 24 Nov 2021 00:08:04 +0100 Subject: [PATCH] WTrackMenu: Add missing feature to all features enum variant --- src/widget/wtrackmenu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/wtrackmenu.h b/src/widget/wtrackmenu.h index 444eb6f5a3e8..3280ba6b6d17 100644 --- a/src/widget/wtrackmenu.h +++ b/src/widget/wtrackmenu.h @@ -34,7 +34,7 @@ class WTrackMenu : public QMenu { Q_OBJECT public: enum Feature { - AutoDJ = 1, + AutoDJ = 1 << 0, // The loadTrackToPlayer signal emitted from this class must be handled to make LoadTo work. LoadTo = 1 << 1, Playlist = 1 << 2, @@ -53,7 +53,7 @@ class WTrackMenu : public QMenu { TrackModelFeatures = Remove | HideUnhidePurge, All = AutoDJ | LoadTo | Playlist | Crate | Remove | Metadata | Reset | BPM | Color | HideUnhidePurge | RemoveFromDisk | FileBrowser | - Properties | SearchRelated + Properties | SearchRelated | UpdateReplayGain }; Q_DECLARE_FLAGS(Features, Feature)