Mercurial > minori
diff src/gui/dialog/settings.cc @ 119:4eae379cb1ff
settings: add a very early recognition tab for configuring players and extensions
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 08 Nov 2023 13:50:00 -0500 |
parents | 39521c47c7a3 |
children | f784b5b1914c |
line wrap: on
line diff
--- a/src/gui/dialog/settings.cc Tue Nov 07 23:40:54 2023 -0500 +++ b/src/gui/dialog/settings.cc Wed Nov 08 13:50:00 2023 -0500 @@ -90,7 +90,7 @@ sidebar->setCurrentItem(sidebar->AddItem(tr("Services"), SideBar::CreateIcon(":/icons/24x24/globe.png"))); // sidebar->AddItem(tr("Library"), SideBar::CreateIcon(":/icons/24x24/inbox-film.png")); sidebar->AddItem(tr("Application"), SideBar::CreateIcon(":/icons/24x24/application-sidebar-list.png")); - // sidebar->AddItem(tr("Recognition"), SideBar::CreateIcon(":/icons/24x24/question.png")); + sidebar->AddItem(tr("Recognition"), SideBar::CreateIcon(":/icons/24x24/question.png")); // sidebar->AddItem(tr("Sharing"), SideBar::CreateIcon(":/icons/24x24/megaphone.png")); sidebar->AddItem(tr("Torrents"), SideBar::CreateIcon(":/icons/24x24/feed.png")); // sidebar->AddItem(tr("Advanced"), SideBar::CreateIcon(":/icons/24x24/gear.png")); @@ -110,6 +110,7 @@ stacked = new QStackedWidget(widget); stacked->addWidget(new SettingsPageServices(stacked)); stacked->addWidget(new SettingsPageApplication(stacked)); + stacked->addWidget(new SettingsPageRecognition(stacked)); stacked->addWidget(new SettingsPageTorrents(stacked)); stacked->setCurrentIndex(0);