Commit 0f572aa3 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

do not send auto-submissions if files were deleted

(indicates update since start of application - making the trace
questionable at best)
parent 80efd753
Pipeline #208868 passed with stage
in 2 minutes and 47 seconds
......@@ -59,7 +59,7 @@ ReportInterface::ReportInterface(QObject *parent)
m_sentryUserFeedbackSent = true;
maybeDone();
});
if (KUserFeedback::Provider provider; provider.isEnabled() && !DrKonqi::isTestingBugzilla()) {
if (KUserFeedback::Provider provider; provider.isEnabled() && !DrKonqi::isTestingBugzilla() && !DrKonqi::crashedApplication()->hasDeletedFiles()) {
metaObject()->invokeMethod(this, [this] {
// Send crash event ASAP, if applicable. Trace quality doesn't matter for it.
sendCrashEvent();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment