mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 02:53:25 -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->setLayout(versionGrid);
|
||||
|
||||
// crash reporting consent (lives in personal.ini, not debug.ini): Ask shows the crash dialog
|
||||
// after an unclean exit, AlwaysSend uploads without asking, NeverSend stays silent.
|
||||
// crash reporting consent (stored in personal.ini, not debug.ini)
|
||||
crashReportingBox.addItem(""); // texts set in retranslateUi
|
||||
crashReportingBox.addItem("");
|
||||
crashReportingBox.addItem("");
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ public:
|
|||
|
||||
enum class CrashReportingMode
|
||||
{
|
||||
Ask = 0,
|
||||
AlwaysSend = 1,
|
||||
NeverSend = 2
|
||||
Ask = 0, ///< Show the crash-report dialog after an unclean exit.
|
||||
AlwaysSend = 1, ///< Upload crash reports without asking.
|
||||
NeverSend = 2 ///< Never upload; stay silent.
|
||||
};
|
||||
|
||||
[[nodiscard]] CrashReportingMode getCrashReportingMode() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue