author | conber <conber> | 2002-06-15 20:16:02 (UTC) |
---|---|---|
committer | conber <conber> | 2002-06-15 20:16:02 (UTC) |
commit | e782feb7418fbf956547b9abb59afdde00745442 (patch) (side-by-side diff) | |
tree | 2eec1348e7d13c7b7f6db8e5d377cea0403ee43e /noncore/unsupported/mail2/libmail | |
parent | b15f8a613d83a2f3957fef515e20981f636b908b (diff) | |
download | opie-e782feb7418fbf956547b9abb59afdde00745442.zip opie-e782feb7418fbf956547b9abb59afdde00745442.tar.gz opie-e782feb7418fbf956547b9abb59afdde00745442.tar.bz2 |
added message box
Diffstat (limited to 'noncore/unsupported/mail2/libmail') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/libmail/mailfactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/mail2/libmail/mailfactory.cpp b/noncore/unsupported/mail2/libmail/mailfactory.cpp index 58cf5f8..427e72c 100644 --- a/noncore/unsupported/mail2/libmail/mailfactory.cpp +++ b/noncore/unsupported/mail2/libmail/mailfactory.cpp @@ -97,13 +97,13 @@ MailFactory::MailFactory(SendMail &smail, QWidget *parent) _body += "Content-Disposition: attachment; filename=\"" + (*it).newName() + "\"\n"; if (!(*it).description().isEmpty()) _body += "Content-Description: " + (*it).description() + "\n"; _body += "\n" + MiscFunctions::encodeBase64(file) + "\n"; } else { - int ret = QMessageBox::critical(_parent, tr("Error"), tr("<p>Couldn't attach file '%1'. Continue anyway or abort?</p>"), tr("Continue"), tr("Abort")); + int ret = QMessageBox::critical(_parent, tr("Error"), tr("<p>Couldn't attach file '%1'. Continue anyway or abort?</p>").arg((*it).fileName()), tr("Continue"), tr("Abort")); if (ret == 1) { it = attachments.end(); _abort = true; } } } |