From 022ac6aad618b031088c417f2c15ae1cf5c21f1f Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Wed, 6 Oct 2021 00:19:47 -0700 Subject: [PATCH] require message on crash report --- app/crashhandler/crashhandler.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/app/crashhandler/crashhandler.cpp b/app/crashhandler/crashhandler.cpp index c5db981af..48b2cd99c 100644 --- a/app/crashhandler/crashhandler.cpp +++ b/app/crashhandler/crashhandler.cpp @@ -190,14 +190,10 @@ void CrashHandlerDialog::SendErrorReport() QMessageBox b(this); b.setIcon(QMessageBox::Question); b.setWindowModality(Qt::WindowModal); - b.setWindowTitle(tr("No Crash Summary")); - b.setText(tr("Are you sure you want to send an error report with no crash summary?")); - b.addButton(QMessageBox::Yes); - b.addButton(QMessageBox::No); - - if (b.exec() == QMessageBox::No) { - return; - } + b.setText(tr("You must write a description to submit this crash report.")); + b.addButton(QMessageBox::Ok); + b.exec(); + return; } QNetworkAccessManager* manager = new QNetworkAccessManager();