[Docs] Document what CrashReporter::sendReport returns (#7877)

This commit is contained in:
AI-scor 2026-11-10 18:04:58 +01:00 • committed by GitHub
parent 7344c96c0a
commit 58ca953926
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,6 +74,12 @@ public:
void shutdown(); void shutdown();
void giveConsent(); void giveConsent();
void revokeConsent(); void revokeConsent();
/**
* @return true once the event is queued to the local transport; delivery happens later
* and is not reported here. false also covers a captured event whose attachment failed,
* so false does not mean "nothing was captured" - callers offer the local-save fallback
* rather than treating the report as absent.
*/
bool sendReport(const QString &redactedPreview, const QString &userNote = QString()); bool sendReport(const QString &redactedPreview, const QString &userNote = QString());
/** /**