author | harlekin <harlekin> | 2003-12-12 13:50:54 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-12-12 13:50:54 (UTC) |
commit | c7549de5f69c98c6b15b6e1a6f4d73ac3f04669e (patch) (unidiff) | |
tree | b836cf4336a2e8b13636298bb12d4d794cdb3bff /noncore/net/mail/mainwindow.cpp | |
parent | 77299749e119436aab7af82e065357fca0cead96 (diff) | |
download | opie-c7549de5f69c98c6b15b6e1a6f4d73ac3f04669e.zip opie-c7549de5f69c98c6b15b6e1a6f4d73ac3f04669e.tar.gz opie-c7549de5f69c98c6b15b6e1a6f4d73ac3f04669e.tar.bz2 |
code cleanups and output beautification
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 | |||
@@ -148,19 +148,18 @@ void MainWindow::refreshMailView(QList<RecMail>*list) | |||
148 | item->showEntry(); | 148 | item->showEntry(); |
149 | } | 149 | } |
150 | } | 150 | } |
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 | } |
164 | 163 | ||
165 | MailListViewItem::MailListViewItem(QListView * parent, MailListViewItem * after ) | 164 | MailListViewItem::MailListViewItem(QListView * parent, MailListViewItem * after ) |
166 | :QListViewItem(parent,after),mail_data() | 165 | :QListViewItem(parent,after),mail_data() |