author | leseb <leseb> | 2002-06-15 22:12:05 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-06-15 22:12:05 (UTC) |
commit | 5c1c1ad8a78041eebf4193d5bcf2a82dfe983e0e (patch) (side-by-side diff) | |
tree | 5e4059233a5de9c95b188ff1c7dca87ce8586e6a /noncore/unsupported/mail2/libmail | |
parent | ac6c5de1e7a15b4ca5bdf226a9eeceffb82aea94 (diff) | |
download | opie-5c1c1ad8a78041eebf4193d5bcf2a82dfe983e0e.zip opie-5c1c1ad8a78041eebf4193d5bcf2a82dfe983e0e.tar.gz opie-5c1c1ad8a78041eebf4193d5bcf2a82dfe983e0e.tar.bz2 |
Minor fixes
Diffstat (limited to 'noncore/unsupported/mail2/libmail') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/libmail/mailfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/mail2/libmail/mailfactory.cpp b/noncore/unsupported/mail2/libmail/mailfactory.cpp index 427e72c..6602919 100644 --- a/noncore/unsupported/mail2/libmail/mailfactory.cpp +++ b/noncore/unsupported/mail2/libmail/mailfactory.cpp @@ -100,11 +100,11 @@ MailFactory::MailFactory(SendMail &smail, QWidget *parent) _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>").arg((*it).fileName()), tr("Continue"), tr("Abort")); - if (ret == 1) { - it = attachments.end(); + if (ret != 0) { _abort = true; + break; } } } _body += "\n--" + boundary + "--"; |