From 01be9f196aea633e878017063047649fb9124491 Mon Sep 17 00:00:00 2001 From: Jim Broadus Date: Sat, 15 May 2021 20:37:52 -0700 Subject: [PATCH] settings: Organize page enums by category. --- src/ui/settingsdialog.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/ui/settingsdialog.h b/src/ui/settingsdialog.h index 49427c264..545be23d9 100644 --- a/src/ui/settingsdialog.h +++ b/src/ui/settingsdialog.h @@ -60,24 +60,29 @@ class SettingsDialog : public QDialog { ~SettingsDialog(); enum Page { + // General Page_Playback, Page_Behaviour, + Page_Library, + Page_BackgroundStreams, + Page_Proxy, + Page_Transcoding, + Page_NetworkRemote, + Page_Wiimotedev, + + // User interface Page_SongInformation, Page_GlobalShortcuts, Page_GlobalSearch, Page_Appearance, - Page_NetworkRemote, Page_Notifications, - Page_Library, + + // Internet services + Page_InternetShow, Page_Lastfm, Page_Spotify, Page_Magnatune, Page_DigitallyImported, - Page_BackgroundStreams, - Page_Proxy, - Page_Transcoding, - Page_Remote, - Page_Wiimotedev, Page_Subsonic, Page_Podcasts, Page_GoogleDrive, @@ -85,7 +90,6 @@ class SettingsDialog : public QDialog { Page_Skydrive, Page_Box, Page_Seafile, - Page_InternetShow, Page_AmazonCloudDrive, Page_RadioBrowser, };