From 355d436d292e82ca647007bd8b34a4c667fccb3d Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 8 May 2020 20:25:02 +0200 Subject: [PATCH] Sort settings pages --- src/settings/settingsdialog.cpp | 12 ++++++------ src/settings/settingsdialog.h | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp index 33d87073c..328e2c948 100644 --- a/src/settings/settingsdialog.cpp +++ b/src/settings/settingsdialog.cpp @@ -60,14 +60,14 @@ #include "collectionsettingspage.h" #include "backendsettingspage.h" #include "playlistsettingspage.h" -#include "appearancesettingspage.h" -#include "contextsettingspage.h" #include "scrobblersettingspage.h" -#include "notificationssettingspage.h" -#include "shortcutssettingspage.h" +#include "lyricssettingspage.h" #include "transcodersettingspage.h" #include "networkproxysettingspage.h" -#include "lyricssettingspage.h" +#include "appearancesettingspage.h" +#include "contextsettingspage.h" +#include "notificationssettingspage.h" +#include "shortcutssettingspage.h" #ifdef HAVE_MOODBAR # include "moodbarsettingspage.h" #endif @@ -131,6 +131,7 @@ SettingsDialog::SettingsDialog(Application *app, QMainWindow *mainwindow, QWidge AddPage(Page_Backend, new BackendSettingsPage(this), general); AddPage(Page_Playlist, new PlaylistSettingsPage(this), general); AddPage(Page_Scrobbler, new ScrobblerSettingsPage(this), general); + AddPage(Page_Lyrics, new LyricsSettingsPage(this), general); #ifdef HAVE_GSTREAMER AddPage(Page_Transcoding, new TranscoderSettingsPage(this), general); #endif @@ -139,7 +140,6 @@ SettingsDialog::SettingsDialog(Application *app, QMainWindow *mainwindow, QWidge QTreeWidgetItem *iface = AddCategory(tr("User interface")); AddPage(Page_Appearance, new AppearanceSettingsPage(this), iface); AddPage(Page_Context, new ContextSettingsPage(this), iface); - AddPage(Page_Lyrics, new LyricsSettingsPage(this), iface); AddPage(Page_Notifications, new NotificationsSettingsPage(this), iface); #ifdef HAVE_GLOBALSHORTCUTS diff --git a/src/settings/settingsdialog.h b/src/settings/settingsdialog.h index 718a07d6d..ea985c49d 100644 --- a/src/settings/settingsdialog.h +++ b/src/settings/settingsdialog.h @@ -78,14 +78,14 @@ class SettingsDialog : public QDialog { Page_Backend, Page_Playback, Page_Playlist, - Page_GlobalShortcuts, - Page_Appearance, - Page_Context, + Page_Scrobbler, Page_Lyrics, - Page_Notifications, Page_Transcoding, Page_Proxy, - Page_Scrobbler, + Page_Appearance, + Page_Context, + Page_Notifications, + Page_GlobalShortcuts, Page_Moodbar, Page_Subsonic, Page_Tidal,