PlaylistSequence: Use constexpr

This commit is contained in:
Jonas Kvinge 2024-04-23 02:44:48 +02:00
parent 0ad4889936
commit a0cfde18c3
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,9 @@
#include "playlistsequence.h"
#include "ui_playlistsequence.h"
const char *PlaylistSequence::kSettingsGroup = "PlaylistSequence";
namespace {
constexpr char kSettingsGroup[] = "PlaylistSequence";
}
PlaylistSequence::PlaylistSequence(QWidget *parent, SettingsProvider *settings)
: QWidget(parent),

View File

@ -60,8 +60,6 @@ class PlaylistSequence : public QWidget {
Albums = 3
};
static const char *kSettingsGroup;
RepeatMode repeat_mode() const;
ShuffleMode shuffle_mode() const;