Hide unfinished sensors tab
This commit is contained in:
parent
de58e2d472
commit
e796ff3663
@ -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();
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user