summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show 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
@@ -187,17 +187,17 @@ void ComposeMail::accept()
187 if ( !sigMultiLine->text().isEmpty() ) { 187 if ( !sigMultiLine->text().isEmpty() ) {
188 txt.append( "\n--\n" ); 188 txt.append( "\n--\n" );
189 txt.append( sigMultiLine->text() ); 189 txt.append( sigMultiLine->text() );
190 } 190 }
191 mail->setMessage( txt ); 191 mail->setMessage( txt );
192 AttachViewItem *it = (AttachViewItem *) attList->firstChild(); 192 AttachViewItem *it = (AttachViewItem *) attList->firstChild();
193 while ( it != NULL ) { 193 while ( it != NULL ) {
194 mail->addAttachment( it->getAttachment() ); 194 mail->addAttachment( it->getAttachment() );
195 it = (AttachViewItem *) it->itemBelow(); 195 it = (AttachViewItem *) it->nextSibling();
196 } 196 }
197 197
198 SMTPwrapper wrapper( settings ); 198 SMTPwrapper wrapper( settings );
199 wrapper.sendMail( *mail,checkBoxLater->isChecked() ); 199 wrapper.sendMail( *mail,checkBoxLater->isChecked() );
200 200
201 QDialog::accept(); 201 QDialog::accept();
202} 202}
203 203