PlaylistSequence: Use constexpr
This commit is contained in:
parent
0ad4889936
commit
a0cfde18c3
|
@ -37,7 +37,9 @@
|
||||||
#include "playlistsequence.h"
|
#include "playlistsequence.h"
|
||||||
#include "ui_playlistsequence.h"
|
#include "ui_playlistsequence.h"
|
||||||
|
|
||||||
const char *PlaylistSequence::kSettingsGroup = "PlaylistSequence";
|
namespace {
|
||||||
|
constexpr char kSettingsGroup[] = "PlaylistSequence";
|
||||||
|
}
|
||||||
|
|
||||||
PlaylistSequence::PlaylistSequence(QWidget *parent, SettingsProvider *settings)
|
PlaylistSequence::PlaylistSequence(QWidget *parent, SettingsProvider *settings)
|
||||||
: QWidget(parent),
|
: QWidget(parent),
|
||||||
|
|
|
@ -60,8 +60,6 @@ class PlaylistSequence : public QWidget {
|
||||||
Albums = 3
|
Albums = 3
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *kSettingsGroup;
|
|
||||||
|
|
||||||
RepeatMode repeat_mode() const;
|
RepeatMode repeat_mode() const;
|
||||||
ShuffleMode shuffle_mode() const;
|
ShuffleMode shuffle_mode() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue