From 9c9926d5a794976cf6c5dd1ed435134503fe61d7 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 22 Jun 2024 00:43:20 +0200 Subject: [PATCH] PlaylistHeader: Cast column to int Fixes #1468 --- src/playlist/playlistheader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist/playlistheader.cpp b/src/playlist/playlistheader.cpp index d97448940..af4adbd60 100644 --- a/src/playlist/playlistheader.cpp +++ b/src/playlist/playlistheader.cpp @@ -125,7 +125,7 @@ void PlaylistHeader::contextMenuEvent(QContextMenuEvent *e) { void PlaylistHeader::AddColumnAction(const int index) { #ifndef HAVE_MOODBAR - if (index == Playlist::Column::Mood) { + if (index == static_cast(Playlist::Column::Mood)) { return; } #endif