summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/composer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/unsupported/mail2/composer.cpp b/noncore/unsupported/mail2/composer.cpp
index cabffe5..1d793ee 100644
--- a/noncore/unsupported/mail2/composer.cpp
+++ b/noncore/unsupported/mail2/composer.cpp
@@ -291,25 +291,26 @@ void Composer::slotQueueMail()
291 QListViewItem *item; 291 QListViewItem *item;
292 QString an; 292 QString an;
293 int i = 0; 293 int i = 0;
294 for (item = attachView->firstChild(); item != 0; item = item->itemBelow()) { 294 for (item = attachView->firstChild(); item != 0; item = item->itemBelow()) {
295 a = ((AttachViewItem *)item)->attachment(); 295 a = ((AttachViewItem *)item)->attachment();
296 an = "Attachment_" + QString::number( i++ ); 296 an = "Attachment_" + QString::number( i++ );
297 cfg.writeEntry( an + "fileName", a.fileName() ); 297 cfg.writeEntry( an + "fileName", a.fileName() );
298 cfg.writeEntry( an + "newName", a.newName() ); 298 cfg.writeEntry( an + "newName", a.newName() );
299 cfg.writeEntry( an + "description", a.description() ); 299 cfg.writeEntry( an + "description", a.description() );
300 cfg.writeEntry( an + "docLnk", a.docLnk().file() ); 300 cfg.writeEntry( an + "docLnk", a.docLnk().file() );
301 } 301 }
302 302
303 //cfg.close(); 303 QMessageBox::information(this, tr("Success"), tr("<p>The mail was queued successfully.</p><p>The queue contains ")+QString::number(count)+tr(" mails.</p>"), tr("Ok"));
304
304} 305}
305 306
306void Composer::slotSendError(const QString &error) 307void Composer::slotSendError(const QString &error)
307{ 308{
308 status->setText(tr("<font color=#ff0000>Error occoured during sending.</font>")); 309 status->setText(tr("<font color=#ff0000>Error occoured during sending.</font>"));
309 QMessageBox::warning(this, tr("Error"), tr("<p>%1</p").arg(error), tr("Ok")); 310 QMessageBox::warning(this, tr("Error"), tr("<p>%1</p").arg(error), tr("Ok"));
310} 311}
311 312
312void Composer::slotSendFinished() 313void Composer::slotSendFinished()
313{ 314{
314 QMessageBox::information(this, tr("Success"), tr("<p>The mail was sent successfully.</p>"), tr("Ok")); 315 QMessageBox::information(this, tr("Success"), tr("<p>The mail was sent successfully.</p>"), tr("Ok"));
315 316