Disable instead of hide menu bar option on Linux
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
3acc761419
commit
6b45386252
@ -414,7 +414,10 @@ void LauncherPage::loadSettings()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Toolbar/menu bar settings (not applicable if native menu bar is present)
|
// Toolbar/menu bar settings (not applicable if native menu bar is present)
|
||||||
|
ui->toolsBox->setEnabled(!QMenuBar().isNativeMenuBar());
|
||||||
|
#ifdef Q_OS_MACOS
|
||||||
ui->toolsBox->setVisible(!QMenuBar().isNativeMenuBar());
|
ui->toolsBox->setVisible(!QMenuBar().isNativeMenuBar());
|
||||||
|
#endif
|
||||||
ui->preferMenuBarCheckBox->setChecked(s->get("MenuBarInsteadOfToolBar").toBool());
|
ui->preferMenuBarCheckBox->setChecked(s->get("MenuBarInsteadOfToolBar").toBool());
|
||||||
|
|
||||||
// Console settings
|
// Console settings
|
||||||
|
Loading…
Reference in New Issue
Block a user