1
0
Fork 0

Launcher: show sentry on/off setting everywhere

Since AppImage builds on Linux have Sentry reporting enabled, enable
the on/off UI everywhere
This commit is contained in:
Automatic Release Builder 2020-09-28 16:19:03 +01:00 committed by James Turner
parent 7ea138038e
commit 6c0cb998e3

View file

@ -128,19 +128,16 @@ Item {
label: qsTr("Enable crash & error reporting") label: qsTr("Enable crash & error reporting")
description: qsTr("Send crash and error reports to the development team for analysis.") description: qsTr("Send crash and error reports to the development team for analysis.")
defaultValue: true defaultValue: true
hidden: (_osName !== "win") && (_osName !== "mac") keywords: ["crash", "report", "telemetry", "sentry", "segfault"]
keywords: ["crash", "report", "telemetry"]
setting: "enable-sentry" setting: "enable-sentry"
} }
] ]
onApply: { onApply: {
if (!showConsoleWin.hidden && showConsoleWin.checked) _config.setArg("console"); if (!showConsoleWin.hidden && showConsoleWin.checked) _config.setArg("console");
if (!enableCrashReporting.hidden) {
_config.setEnableDisableOption("sentry", enableCrashReporting.checked); _config.setEnableDisableOption("sentry", enableCrashReporting.checked);
} }
} }
}
Section { Section {
id: mpSettings id: mpSettings