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:
parent
7ea138038e
commit
6c0cb998e3
1 changed files with 2 additions and 5 deletions
|
@ -128,17 +128,14 @@ 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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue