UI: Options: Show "Network Rules" tab

This commit is contained in:
Nodir Temirkhodjaev 2022-03-04 14:45:30 +03:00
parent 3a9d68cdd7
commit 9bd8187840

View File

@ -84,10 +84,6 @@ void OptMainPage::setupTabBar()
m_tabBar->addTab(statisticsPage, IconCache::icon(":/icons/chart_bar.png"), QString());
m_tabBar->addTab(schedulePage, IconCache::icon(":/icons/clock.png"), QString());
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
m_tabBar->setTabVisible(2, false); // TODO: Impl. Network Rules
#endif
connect(m_tabBar, &QTabWidget::currentChanged, this,
[&](int tabIndex) { m_pages[tabIndex]->onPageActivated(); });
}