-rw-r--r-- | noncore/net/mail/viewmail.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mail/viewmail.cpp b/noncore/net/mail/viewmail.cpp index 0947879..d86454c 100644 --- a/noncore/net/mail/viewmail.cpp +++ b/noncore/net/mail/viewmail.cpp | |||
@@ -183,16 +183,18 @@ setText(); | |||
183 | ViewMail::ViewMail( QWidget *parent, const char *name, WFlags fl) | 183 | ViewMail::ViewMail( QWidget *parent, const char *name, WFlags fl) |
184 | : ViewMailBase(parent, name, fl), _inLoop(false) | 184 | : ViewMailBase(parent, name, fl), _inLoop(false) |
185 | { | 185 | { |
186 | m_gotBody = false; | 186 | m_gotBody = false; |
187 | deleted = false; | ||
187 | 188 | ||
188 | connect(reply, SIGNAL(activated()), SLOT(slotReply())); | 189 | connect(reply, SIGNAL(activated()), SLOT(slotReply())); |
189 | connect(forward, SIGNAL(activated()), SLOT(slotForward())); | 190 | connect(forward, SIGNAL(activated()), SLOT(slotForward())); |
190 | connect( deleteMail, SIGNAL( activated() ), SLOT( slotDeleteMail( ) ) ); | 191 | connect( deleteMail, SIGNAL( activated() ), SLOT( slotDeleteMail( ) ) ); |
191 | 192 | ||
192 | attachments->setEnabled(m_gotBody); | 193 | attachments->setEnabled(m_gotBody); |
193 | connect( attachments, SIGNAL( clicked ( QListViewItem *, const QPoint & , int ) ), SLOT( slotItemClicked( QListViewItem *, const QPoint & , int ) ) ); | 194 | connect( attachments, SIGNAL( clicked ( QListViewItem *, const QPoint & , int ) ), SLOT( slotItemClicked( QListViewItem *, const QPoint & , int ) ) ); |
194 | 195 | ||
196 | |||
195 | } | 197 | } |
196 | 198 | ||
197 | void ViewMail::setText() | 199 | void ViewMail::setText() |
198 | { | 200 | { |
@@ -332,9 +334,9 @@ void ViewMail::slotForward() | |||
332 | composer.setSubject( "Fwd: " + m_mail[1] ); | 334 | composer.setSubject( "Fwd: " + m_mail[1] ); |
333 | composer.setMessage( ftext ); | 335 | composer.setMessage( ftext ); |
334 | composer.showMaximized(); | 336 | composer.showMaximized(); |
335 | if ( QDialog::Accepted==composer.exec()) { | 337 | if ( QDialog::Accepted==composer.exec()) { |
336 | 338 | ||
337 | } | 339 | } |
338 | } | 340 | } |
339 | 341 | ||
340 | void ViewMail::slotDeleteMail( ) | 342 | void ViewMail::slotDeleteMail( ) |