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 <QFileDialog>
#include <QErrorMessage> #include <QErrorMessage>
#include <QMessageBox>
#include <iostream> #include <iostream>
@ -119,6 +120,12 @@ void SendEmail::on_sendEmail_clicked()
errorMessage("Mail sending failed"); errorMessage("Mail sending failed");
return; return;
} }
else
{
QMessageBox okMessage (this);
okMessage.setText("The email was succesfully sended.");
okMessage.exec();
}
smtp.quit(); smtp.quit();

View File

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