refactor: SettingsDialog, hide advanced tab when running on macos

This commit is contained in:
sithlord48
2026-02-17 00:07:55 -05:00
committed by Chris Rizzitello
parent d7fb9bc6d2
commit 6ccef50b7c

View File

@ -31,6 +31,11 @@ SettingsDialog::SettingsDialog(QWidget *parent, const IServerConfig &serverConfi
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
I18N::reDetectLanguages();
ui->comboLanguage->addItems(I18N::detectedLanguages());