Diffstat (limited to 'noncore/net/mail/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index 6d13a8b..1d6e901 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp | |||
@@ -151,13 +151,12 @@ void MainWindow::refreshMailView(QList<RecMail>*list) | |||
151 | void MainWindow::displayMail(QListViewItem*item) | 151 | void MainWindow::displayMail(QListViewItem*item) |
152 | { | 152 | { |
153 | if (!item) return; | 153 | if (!item) return; |
154 | qDebug("View mail"); | ||
155 | RecMail mail = ((MailListViewItem*)item)->data(); | 154 | RecMail mail = ((MailListViewItem*)item)->data(); |
156 | RecBody body = folderView->fetchBody(mail); | 155 | RecBody body = folderView->fetchBody(mail); |
157 | 156 | ||
158 | ViewMail readMail( this ); | 157 | ViewMail readMail( this ); |
159 | 158 | readMail.setBody( body ); | |
160 | readMail.setMailInfo( mail.getFrom(), mail.To(), mail.getSubject(), mail.CC(), mail.Bcc(), mail.getDate(), body.Bodytext(), mail.Msgid() ); | 159 | readMail.setMail( mail ); |
161 | readMail.showMaximized(); | 160 | readMail.showMaximized(); |
162 | readMail.exec(); | 161 | readMail.exec(); |
163 | } | 162 | } |