Demo 2 bug fix

This commit is contained in:
Your Name 2011-09-06 19:08:11 +03:00
parent e6d8578b1d
commit a118309811

View File

@ -98,7 +98,7 @@ void SendEmail::on_sendEmail_clicked()
for (int i = 0; i < ui->attachments->count(); ++i) for (int i = 0; i < ui->attachments->count(); ++i)
{ {
message.addPart(new MimeFile(new QFile(ui->attachments->item(i)->text()))); message.addPart(new MimeAttachment(new QFile(ui->attachments->item(i)->text())));
} }
if (!smtp.connectToHost()) if (!smtp.connectToHost())