From 27151bb106e2cbd7f649dae228189ebcaccd7aac Mon Sep 17 00:00:00 2001 From: harlekin Date: Wed, 17 Dec 2003 00:28:53 +0000 Subject: only refresh mailbox view if the mail was deleted, not allways --- (limited to 'noncore/net/mail') 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 @@ -184,6 +184,7 @@ ViewMail::ViewMail( QWidget *parent, const char *name, WFlags fl) : ViewMailBase(parent, name, fl), _inLoop(false) { m_gotBody = false; + deleted = false; connect(reply, SIGNAL(activated()), SLOT(slotReply())); connect(forward, SIGNAL(activated()), SLOT(slotForward())); @@ -192,6 +193,7 @@ ViewMail::ViewMail( QWidget *parent, const char *name, WFlags fl) attachments->setEnabled(m_gotBody); connect( attachments, SIGNAL( clicked ( QListViewItem *, const QPoint & , int ) ), SLOT( slotItemClicked( QListViewItem *, const QPoint & , int ) ) ); + } void ViewMail::setText() @@ -333,7 +335,7 @@ void ViewMail::slotForward() composer.setMessage( ftext ); composer.showMaximized(); if ( QDialog::Accepted==composer.exec()) { - + } } -- cgit v0.9.0.2