From 82b78b5ec9ac369741b23e79bbfdcd779c77f24d Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Wed, 10 Mar 2021 11:21:18 +0300 Subject: [PATCH] UI: Options: Hide "Network Rules" tab until impl. --- src/ui/form/opt/pages/mainpage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/form/opt/pages/mainpage.cpp b/src/ui/form/opt/pages/mainpage.cpp index b387a27b..8358f32c 100644 --- a/src/ui/form/opt/pages/mainpage.cpp +++ b/src/ui/form/opt/pages/mainpage.cpp @@ -64,6 +64,8 @@ void MainPage::setupUi() m_tabBar->addTab(m_statisticsPage, IconCache::icon(":/icons/database.png"), QString()); m_tabBar->addTab(m_schedulePage, IconCache::icon(":/icons/clock.png"), QString()); + m_tabBar->setTabVisible(2, false); // TODO: Impl. Network Rules + // Dialog butons auto buttonsLayout = setupDialogButtons(); layout->addLayout(buttonsLayout);