From f820365eed7e956e67e6122a8a5ab529e7df9474 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Apr 2015 14:01:37 +0300 Subject: Fix time in mail view window. Also fix possible leaks in mail windows. --- src/gui/windows/mailwindow.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/mailwindow.h') diff --git a/src/gui/windows/mailwindow.h b/src/gui/windows/mailwindow.h index b92b21d9e..236b3c7e1 100644 --- a/src/gui/windows/mailwindow.h +++ b/src/gui/windows/mailwindow.h @@ -54,10 +54,11 @@ class MailWindow final : public Window, void clear(); - void showMessage(const MailMessage *const mail); + void showMessage(MailMessage *const mail); private: std::vector mMessages; + std::map mMessagesMap; ExtendedNamesModel *mMailModel; ExtendedListBox *mListBox; Button *mRefreshButton; -- cgit v1.2.3-70-g09d2