From 9bd818784001a671a39aac95d1b71addc838e5bc Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Fri, 4 Mar 2022 14:45:30 +0300 Subject: [PATCH] UI: Options: Show "Network Rules" tab --- src/ui/form/opt/pages/optmainpage.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ui/form/opt/pages/optmainpage.cpp b/src/ui/form/opt/pages/optmainpage.cpp index 9e941969..ce94abbb 100644 --- a/src/ui/form/opt/pages/optmainpage.cpp +++ b/src/ui/form/opt/pages/optmainpage.cpp @@ -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(); }); }