Corrected some bugs in Demo2.
This commit is contained in:
parent
826fd14959
commit
e339755a84
@ -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();
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user