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