summaryrefslogtreecommitdiff
path: root/noncore/net/mail/composemail.cpp
authoralwin <alwin>2004-02-13 02:52:41 (UTC)
committer alwin <alwin>2004-02-13 02:52:41 (UTC)
commitaca5ba5ed24b4da61517560ea91f566afd132d28 (patch) (side-by-side diff)
tree86085c6042e591dc9f211a8716cb63ff30cb5f4e /noncore/net/mail/composemail.cpp
parent2fd9c32e07714b7caf38994c0b0f1da8ffb27aa9 (diff)
downloadopie-aca5ba5ed24b4da61517560ea91f566afd132d28.zip
opie-aca5ba5ed24b4da61517560ea91f566afd132d28.tar.gz
opie-aca5ba5ed24b4da61517560ea91f566afd132d28.tar.bz2
interface changes
Diffstat (limited to 'noncore/net/mail/composemail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/composemail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp
index 5e823e8..abcc3f6 100644
--- a/noncore/net/mail/composemail.cpp
+++ b/noncore/net/mail/composemail.cpp
@@ -211,26 +211,26 @@ void ComposeMail::accept()
if ( !sigMultiLine->text().isEmpty() ) {
txt.append( "\n--\n" );
txt.append( sigMultiLine->text() );
}
qDebug(txt);
mail->setMessage( txt );
AttachViewItem *it = (AttachViewItem *) attList->firstChild();
while ( it != NULL ) {
mail->addAttachment( it->getAttachment() );
it = (AttachViewItem *) it->nextSibling();
}
- SMTPwrapper wrapper( settings );
- wrapper.sendMail( *mail,smtp,checkBoxLater->isChecked() );
+ SMTPwrapper wrapper( smtp );
+ wrapper.sendMail( *mail,checkBoxLater->isChecked() );
QDialog::accept();
}
AttachViewItem::AttachViewItem( QListView *parent, Attachment *att )
: QListViewItem( parent )
{
attachment = att;
qDebug( att->getMimeType() );
setPixmap( 0, attachment->getDocLnk().pixmap().isNull() ?
Resource::loadPixmap( "UnknownDocument-14" ) :
attachment->getDocLnk().pixmap() );