require message on crash report

This commit is contained in:
itsmattkc
2021-10-06 00:19:47 -07:00
parent fc86d46f03
commit 022ac6aad6
+4 -8
View File
@@ -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();