diff --git a/AdaptiveBrightness/main_window.cpp b/AdaptiveBrightness/main_window.cpp index 619781f..ce88ee8 100644 --- a/AdaptiveBrightness/main_window.cpp +++ b/AdaptiveBrightness/main_window.cpp @@ -29,6 +29,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent) enumMonitors(); setupMonitorsTab(); + setupSensorsTab(); setupTrayIcon(); @@ -218,6 +219,11 @@ void MainWindow::setupOverallBrightness() }); } +void MainWindow::setupSensorsTab() +{ + m_ui.tabs->removeTab(1); +} + void MainWindow::setupTrayIcon() { loadIcons(); diff --git a/AdaptiveBrightness/main_window.hpp b/AdaptiveBrightness/main_window.hpp index 2a39108..b7129c4 100644 --- a/AdaptiveBrightness/main_window.hpp +++ b/AdaptiveBrightness/main_window.hpp @@ -40,6 +40,8 @@ class MainWindow : public QMainWindow { void setupBrightness(); void setupOverallBrightness(); + void setupSensorsTab(); + void setupTrayIcon(); void setupCallbackTimer();