summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/composemail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp
index f532815..73d1a43 100644
--- a/noncore/net/mail/composemail.cpp
+++ b/noncore/net/mail/composemail.cpp
@@ -193,5 +193,5 @@ void ComposeMail::accept()
while ( it != NULL ) {
mail->addAttachment( it->getAttachment() );
- it = (AttachViewItem *) it->itemBelow();
+ it = (AttachViewItem *) it->nextSibling();
}