refactor: SettingsDialog, hide advanced tab when running on macos
This commit is contained in:
parent
d7fb9bc6d2
commit
6ccef50b7c
1 changed files with 5 additions and 0 deletions
|
|
@ -31,6 +31,11 @@ SettingsDialog::SettingsDialog(QWidget *parent, const IServerConfig &serverConfi
|
||||||
|
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
// no advanced options on macOS
|
||||||
|
if (deskflow::platform::isMac()) {
|
||||||
|
ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tabAdvanced));
|
||||||
|
}
|
||||||
|
|
||||||
// set up the language combo
|
// set up the language combo
|
||||||
I18N::reDetectLanguages();
|
I18N::reDetectLanguages();
|
||||||
ui->comboLanguage->addItems(I18N::detectedLanguages());
|
ui->comboLanguage->addItems(I18N::detectedLanguages());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue