mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:25:18 +00:00
UI: Options: Show "Network Rules" tab
This commit is contained in:
parent
3a9d68cdd7
commit
9bd8187840
@ -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(); });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user