[Settings] Make groupedPages static const per review

This commit is contained in:
BruebachL 2026-10-13 11:44:23 +02:00 • committed by Lukas Brübach
parent 3a4018773a
commit da56a37506

View file

@ -224,7 +224,7 @@ void SettingsView::setupNavTree()
"QTreeWidget::item:selected { background: palette(highlight); color: palette(highlighted-text); }"); "QTreeWidget::item:selected { background: palette(highlight); color: palette(highlighted-text); }");
// Groups of SettingsPage values, in navigation order // Groups of SettingsPage values, in navigation order
const QList<QList<SettingsPage>> groupedPages = { static const QList<QList<SettingsPage>> groupedPages = {
{GeneralPage, AppearancePage, UserInterfacePage}, {GeneralPage, AppearancePage, UserInterfacePage},
{DeckEditorPage, StoragePage}, {DeckEditorPage, StoragePage},
{MessagesPage, SoundPage}, {MessagesPage, SoundPage},