Use C++11 enum class

This commit is contained in:
Jonas Kvinge
2023-02-18 14:09:27 +01:00
parent e6c5f76872
commit dd72fb4ca5
237 changed files with 2915 additions and 2840 deletions

View File

@@ -74,25 +74,25 @@ class SettingsDialog : public QDialog {
explicit SettingsDialog(Application *app, OSDBase *osd, QMainWindow *mainwindow, QWidget *parent = nullptr);
~SettingsDialog() override;
enum Page {
Page_Behaviour,
Page_Collection,
Page_Backend,
Page_Playback,
Page_Playlist,
Page_Scrobbler,
Page_Covers,
Page_Lyrics,
Page_Transcoding,
Page_Proxy,
Page_Appearance,
Page_Context,
Page_Notifications,
Page_GlobalShortcuts,
Page_Moodbar,
Page_Subsonic,
Page_Tidal,
Page_Qobuz,
enum class Page {
Behaviour,
Collection,
Backend,
Playback,
Playlist,
Scrobbler,
Covers,
Lyrics,
Transcoding,
Proxy,
Appearance,
Context,
Notifications,
GlobalShortcuts,
Moodbar,
Subsonic,
Tidal,
Qobuz,
};
enum Role {