Corrected some bugs in Demo2.
This commit is contained in:
parent
826fd14959
commit
e339755a84
@ -19,6 +19,7 @@
|
||||
|
||||
#include <QFileDialog>
|
||||
#include <QErrorMessage>
|
||||
#include <QMessageBox>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@ -119,6 +120,12 @@ void SendEmail::on_sendEmail_clicked()
|
||||
errorMessage("Mail sending failed");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
QMessageBox okMessage (this);
|
||||
okMessage.setText("The email was succesfully sended.");
|
||||
okMessage.exec();
|
||||
}
|
||||
|
||||
smtp.quit();
|
||||
|
||||
|
@ -95,7 +95,7 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use authentification</string>
|
||||
<string>Use authentication</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user