Hide unfinished sensors tab

This commit is contained in:
BlackMark 2020-07-17 18:58:46 +02:00
parent de58e2d472
commit e796ff3663
2 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
enumMonitors(); enumMonitors();
setupMonitorsTab(); setupMonitorsTab();
setupSensorsTab();
setupTrayIcon(); setupTrayIcon();
@ -218,6 +219,11 @@ void MainWindow::setupOverallBrightness()
}); });
} }
void MainWindow::setupSensorsTab()
{
m_ui.tabs->removeTab(1);
}
void MainWindow::setupTrayIcon() void MainWindow::setupTrayIcon()
{ {
loadIcons(); loadIcons();

View File

@ -40,6 +40,8 @@ class MainWindow : public QMainWindow {
void setupBrightness(); void setupBrightness();
void setupOverallBrightness(); void setupOverallBrightness();
void setupSensorsTab();
void setupTrayIcon(); void setupTrayIcon();
void setupCallbackTimer(); void setupCallbackTimer();