UI: Options: "Network Rules" is not implemented yet

This commit is contained in:
Nodir Temirkhodjaev 2022-05-24 12:35:54 +03:00
parent 334df2ddf5
commit c65188a9b9

View File

@ -84,6 +84,8 @@ void OptMainPage::setupTabBar()
m_tabBar->addTab(statisticsPage, IconCache::icon(":/icons/chart_bar.png"), QString()); m_tabBar->addTab(statisticsPage, IconCache::icon(":/icons/chart_bar.png"), QString());
m_tabBar->addTab(schedulePage, IconCache::icon(":/icons/clock.png"), QString()); m_tabBar->addTab(schedulePage, IconCache::icon(":/icons/clock.png"), QString());
m_tabBar->setTabEnabled(2, false); // TODO: Implement Network Rules
connect(m_tabBar, &QTabWidget::currentChanged, this, connect(m_tabBar, &QTabWidget::currentChanged, this,
[&](int tabIndex) { m_pages[tabIndex]->onPageActivated(); }); [&](int tabIndex) { m_pages[tabIndex]->onPageActivated(); });
} }