summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-29 14:01:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-29 14:10:28 +0300
commitf820365eed7e956e67e6122a8a5ab529e7df9474 (patch)
tree9ee43bae2f7cafa38ab0cf018b8dbaf49d531f38 /src/gui/windows/mailwindow.h
parent4b0f30b1e1879cee6d65394d826bba21eca6c40b (diff)
downloadmv-f820365eed7e956e67e6122a8a5ab529e7df9474.tar.gz
mv-f820365eed7e956e67e6122a8a5ab529e7df9474.tar.bz2
mv-f820365eed7e956e67e6122a8a5ab529e7df9474.tar.xz
mv-f820365eed7e956e67e6122a8a5ab529e7df9474.zip
Fix time in mail view window.
Also fix possible leaks in mail windows.
Diffstat (limited to 'src/gui/windows/mailwindow.h')
-rw-r--r--src/gui/windows/mailwindow.h3
1 files changed, 2 insertions, 1 deletions
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<MailMessage*> mMessages;
+ std::map<int, MailMessage*> mMessagesMap;
ExtendedNamesModel *mMailModel;
ExtendedListBox *mListBox;
Button *mRefreshButton;