summaryrefslogtreecommitdiff
path: root/noncore
authorconber <conber>2002-06-15 20:53:53 (UTC)
committer conber <conber>2002-06-15 20:53:53 (UTC)
commitbe10ba352f2a89bc5ec816eefc307a4ae2f7ff6b (patch) (side-by-side diff)
tree414e77447b8f8d6baeef6588a009cb65e1353c0b /noncore
parente23774336087439cfed07899c8446eab674a3de8 (diff)
downloadopie-be10ba352f2a89bc5ec816eefc307a4ae2f7ff6b.zip
opie-be10ba352f2a89bc5ec816eefc307a4ae2f7ff6b.tar.gz
opie-be10ba352f2a89bc5ec816eefc307a4ae2f7ff6b.tar.bz2
fixed abort bug
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/composer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/composer.cpp b/noncore/unsupported/mail2/composer.cpp
index 03d50b6..57f0779 100644
--- a/noncore/unsupported/mail2/composer.cpp
+++ b/noncore/unsupported/mail2/composer.cpp
@@ -120,6 +120,7 @@ void Composer::slotSendMail()
QString header, message;
MailFactory::genMail(header, message, smail, this);
+ if (header.isNull() || message.isNull()) return; // Aborted.
abort->setEnabled(true);