diff src/gui/dialog/settings.cc @ 226:f784b5b1914c

settings: add library page
author Paper <mrpapersonic@gmail.com>
date Mon, 08 Jan 2024 21:23:00 -0500
parents 4eae379cb1ff
children 4d461ef7d424
line wrap: on
line diff
--- a/src/gui/dialog/settings.cc	Mon Jan 08 17:07:01 2024 -0500
+++ b/src/gui/dialog/settings.cc	Mon Jan 08 21:23:00 2024 -0500
@@ -88,7 +88,7 @@
 			sidebar = new SideBar(widget);
 
 			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("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("Sharing"), SideBar::CreateIcon(":/icons/24x24/megaphone.png"));
@@ -109,6 +109,7 @@
 		{
 			stacked = new QStackedWidget(widget);
 			stacked->addWidget(new SettingsPageServices(stacked));
+			stacked->addWidget(new SettingsPageLibrary(stacked));
 			stacked->addWidget(new SettingsPageApplication(stacked));
 			stacked->addWidget(new SettingsPageRecognition(stacked));
 			stacked->addWidget(new SettingsPageTorrents(stacked));