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