Corrected some bugs in Demo2.

This commit is contained in:
Attila 2011-11-02 16:17:33 +02:00
parent 826fd14959
commit e339755a84
2 changed files with 8 additions and 1 deletions

View File

@ -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();

View File

@ -95,7 +95,7 @@
</font>
</property>
<property name="text">
<string>Use authentification</string>
<string>Use authentication</string>
</property>
</widget>
</item>