Skip to content

Commit

Permalink
PlaylistSequence: Use constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Apr 23, 2024
1 parent 0ad4889 commit a0cfde1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/playlist/playlistsequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 0 additions & 2 deletions src/playlist/playlistsequence.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ class PlaylistSequence : public QWidget {
Albums = 3
};

static const char *kSettingsGroup;

RepeatMode repeat_mode() const;
ShuffleMode shuffle_mode() const;

Expand Down

0 comments on commit a0cfde1

Please sign in to comment.