From cd2d19f647552512a6196ab58766877b03eddadf Mon Sep 17 00:00:00 2001 From: Automatic Release Builder Date: Tue, 29 Sep 2020 22:31:00 +0100 Subject: [PATCH] Launcher: add UX to enable developer mode --- src/GUI/qml/Settings.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/GUI/qml/Settings.qml b/src/GUI/qml/Settings.qml index beb04361b..b58f9eea1 100644 --- a/src/GUI/qml/Settings.qml +++ b/src/GUI/qml/Settings.qml @@ -130,12 +130,23 @@ Item { defaultValue: true keywords: ["crash", "report", "telemetry", "sentry", "segfault"] setting: "enable-sentry" + }, + + SettingCheckbox { + id: developerMode + advanced: true + label: qsTr("Enable developer mode") + description: qsTr("Enable simulator & aircraft development features, such as increased error messages in log files.") + defaultValue: false + keywords: ["develop", "developer"] + setting: "develop" } ] onApply: { if (!showConsoleWin.hidden && showConsoleWin.checked) _config.setArg("console"); _config.setEnableDisableOption("sentry", enableCrashReporting.checked); + if (developerMode.checked) _config.setArg("developer"); } }