Hide unfinished sensors tab
This commit is contained in:
parent
de58e2d472
commit
e796ff3663
@ -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();
|
||||
|
@ -40,6 +40,8 @@ class MainWindow : public QMainWindow {
|
||||
void setupBrightness();
|
||||
void setupOverallBrightness();
|
||||
|
||||
void setupSensorsTab();
|
||||
|
||||
void setupTrayIcon();
|
||||
void setupCallbackTimer();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user