author | harlekin <harlekin> | 2003-12-17 00:28:53 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-12-17 00:28:53 (UTC) |
commit | 27151bb106e2cbd7f649dae228189ebcaccd7aac (patch) (side-by-side diff) | |
tree | 8b4bf245e609eaedb8a5a150c2d2fd68ded0a6ca | |
parent | fb054f9c69224e14f446f405098bd5166377f58d (diff) | |
download | opie-27151bb106e2cbd7f649dae228189ebcaccd7aac.zip opie-27151bb106e2cbd7f649dae228189ebcaccd7aac.tar.gz opie-27151bb106e2cbd7f649dae228189ebcaccd7aac.tar.bz2 |
only refresh mailbox view if the mail was deleted, not allways
-rw-r--r-- | noncore/net/mail/viewmail.cpp | 2 |
1 files changed, 2 insertions, 0 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(); 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())); connect( deleteMail, SIGNAL( activated() ), SLOT( slotDeleteMail( ) ) ); attachments->setEnabled(m_gotBody); connect( attachments, SIGNAL( clicked ( QListViewItem *, const QPoint & , int ) ), SLOT( slotItemClicked( QListViewItem *, const QPoint & , int ) ) ); + } void ViewMail::setText() { |