mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Only send email if the email CB is checked.
This commit is contained in:
parent
a761910a78
commit
2d7784aad4
1 changed files with 3 additions and 1 deletions
|
@ -203,6 +203,8 @@ void CCrashReportWidget::onSendClicked()
|
|||
SCrashReportData data;
|
||||
data.description = m_ui.descriptionEdit->toPlainText();
|
||||
data.report = m_ui.reportEdit->toPlainText();
|
||||
|
||||
if( m_ui.emailCB->isChecked() )
|
||||
data.email = m_ui.emailEdit->text();
|
||||
|
||||
m_socket->sendReport( data );
|
||||
|
|
Loading…
Reference in a new issue