1
0
Fork 0

Launcher: add UX to enable developer mode

This commit is contained in:
Automatic Release Builder 2020-09-29 22:31:00 +01:00 committed by James Turner
parent c7f66ecf1c
commit cd2d19f647

View file

@ -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");
}
}