summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-24 20:47:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-24 20:47:07 +0300
commitf2f123e95adc6aa6a1a81bef0414705df30986e3 (patch)
tree5a0d7adf14a8410c65865aaf82a03f8e45e4c9be /src/gui/windows/mailwindow.h
parent42531b3cf82aace768f2960f0ea6d07815274026 (diff)
downloadplus-f2f123e95adc6aa6a1a81bef0414705df30986e3.tar.gz
plus-f2f123e95adc6aa6a1a81bef0414705df30986e3.tar.bz2
plus-f2f123e95adc6aa6a1a81bef0414705df30986e3.tar.xz
plus-f2f123e95adc6aa6a1a81bef0414705df30986e3.zip
Refresh mail list from new mail system.
Diffstat (limited to 'src/gui/windows/mailwindow.h')
-rw-r--r--src/gui/windows/mailwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windows/mailwindow.h b/src/gui/windows/mailwindow.h
index 40be426d6..9ac4a5069 100644
--- a/src/gui/windows/mailwindow.h
+++ b/src/gui/windows/mailwindow.h
@@ -68,6 +68,8 @@ class MailWindow final : public Window,
void createMail(const std::string &to);
private:
+ void refreshMails();
+
STD_VECTOR<MailMessage*> mMessages;
std::map<int, MailMessage*> mMessagesMap;
ExtendedNamesModel *mMailModel;
@@ -78,6 +80,7 @@ class MailWindow final : public Window,
Button *mDeleteButton;
Button *mReturnButton;
Button *mOpenButton;
+ bool mUseMail2;
};
extern MailWindow *mailWindow;