Only send email if the email CB is checked.
--HG-- branch : feature-crashreport
This commit is contained in:
parent
3108e5e013
commit
d561a7078c
1 changed files with 3 additions and 1 deletions
|
@ -203,6 +203,8 @@ 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();
|
||||||
|
|
||||||
|
if( m_ui.emailCB->isChecked() )
|
||||||
data.email = m_ui.emailEdit->text();
|
data.email = m_ui.emailEdit->text();
|
||||||
|
|
||||||
m_socket->sendReport( data );
|
m_socket->sendReport( data );
|
||||||
|
|
Loading…
Reference in a new issue