mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 03:53:26 -08:00
[CrashReporting] Document reporting modes on the enum per review
This commit is contained in:
parent
88b8f3f4ee
commit
1da0c6c7a5
2 changed files with 4 additions and 5 deletions
|
|
@ -133,8 +133,7 @@ GeneralSettingsPage::GeneralSettingsPage()
|
||||||
versionGroupBox = new QGroupBox;
|
versionGroupBox = new QGroupBox;
|
||||||
versionGroupBox->setLayout(versionGrid);
|
versionGroupBox->setLayout(versionGrid);
|
||||||
|
|
||||||
// crash reporting consent (lives in personal.ini, not debug.ini): Ask shows the crash dialog
|
// crash reporting consent (stored in personal.ini, not debug.ini)
|
||||||
// after an unclean exit, AlwaysSend uploads without asking, NeverSend stays silent.
|
|
||||||
crashReportingBox.addItem(""); // texts set in retranslateUi
|
crashReportingBox.addItem(""); // texts set in retranslateUi
|
||||||
crashReportingBox.addItem("");
|
crashReportingBox.addItem("");
|
||||||
crashReportingBox.addItem("");
|
crashReportingBox.addItem("");
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@ public:
|
||||||
|
|
||||||
enum class CrashReportingMode
|
enum class CrashReportingMode
|
||||||
{
|
{
|
||||||
Ask = 0,
|
Ask = 0, ///< Show the crash-report dialog after an unclean exit.
|
||||||
AlwaysSend = 1,
|
AlwaysSend = 1, ///< Upload crash reports without asking.
|
||||||
NeverSend = 2
|
NeverSend = 2 ///< Never upload; stay silent.
|
||||||
};
|
};
|
||||||
|
|
||||||
[[nodiscard]] CrashReportingMode getCrashReportingMode() const;
|
[[nodiscard]] CrashReportingMode getCrashReportingMode() const;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue