PlaylistHeader: Cast column to int

Fixes #1468
This commit is contained in:
Jonas Kvinge 2024-06-22 00:43:20 +02:00
parent 95a3c41baa
commit 9c9926d5a7
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ void PlaylistHeader::contextMenuEvent(QContextMenuEvent *e) {
void PlaylistHeader::AddColumnAction(const int index) { void PlaylistHeader::AddColumnAction(const int index) {
#ifndef HAVE_MOODBAR #ifndef HAVE_MOODBAR
if (index == Playlist::Column::Mood) { if (index == static_cast<int>(Playlist::Column::Mood)) {
return; return;
} }
#endif #endif