mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-30 07:35:59 +00:00
Only send email if the email CB is checked.
This commit is contained in:
parent
9a9b2042dd
commit
001b870654
1 changed files with 3 additions and 1 deletions
|
@ -203,7 +203,9 @@ void CCrashReportWidget::onSendClicked()
|
||||||
SCrashReportData data;
|
SCrashReportData data;
|
||||||
data.description = m_ui.descriptionEdit->toPlainText();
|
data.description = m_ui.descriptionEdit->toPlainText();
|
||||||
data.report = m_ui.reportEdit->toPlainText();
|
data.report = m_ui.reportEdit->toPlainText();
|
||||||
data.email = m_ui.emailEdit->text();
|
|
||||||
|
if( m_ui.emailCB->isChecked() )
|
||||||
|
data.email = m_ui.emailEdit->text();
|
||||||
|
|
||||||
m_socket->sendReport( data );
|
m_socket->sendReport( data );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue