summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-25 04:36:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-25 04:36:31 +0300
commit6adafcc07e2101ab085bd9f2182c965ef70d0519 (patch)
treeb1c293ec19e5cd29ad5c05f8eddc017de33b3cb0 /src/gui/windows/mailwindow.h
parentd11a1f693cd1c43c4d1977f65ef16eba11d872b1 (diff)
downloadmanaverse-6adafcc07e2101ab085bd9f2182c965ef70d0519.tar.gz
manaverse-6adafcc07e2101ab085bd9f2182c965ef70d0519.tar.bz2
manaverse-6adafcc07e2101ab085bd9f2182c965ef70d0519.tar.xz
manaverse-6adafcc07e2101ab085bd9f2182c965ef70d0519.zip
Use int64 for mail messages ids.
Diffstat (limited to 'src/gui/windows/mailwindow.h')
-rw-r--r--src/gui/windows/mailwindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/mailwindow.h b/src/gui/windows/mailwindow.h
index 7c808379d..8a6bc6695 100644
--- a/src/gui/windows/mailwindow.h
+++ b/src/gui/windows/mailwindow.h
@@ -57,11 +57,11 @@ class MailWindow final : public Window,
void showMessage(MailMessage *const mail);
- void removeMail(const int id);
+ void removeMail(const int64_t id);
- void viewNext(const int id);
+ void viewNext(const int64_t id);
- void viewPrev(const int id);
+ void viewPrev(const int64_t id);
void mouseClicked(MouseEvent &event) override final;
@@ -79,7 +79,7 @@ class MailWindow final : public Window,
A_WARN_UNUSED A_NONNULL(2);
STD_VECTOR<MailMessage*> mMessages;
- std::map<int, MailMessage*> mMessagesMap;
+ std::map<int64_t, MailMessage*> mMessagesMap;
ExtendedNamesModel *mMailModel;
ExtendedListBox *mListBox;
ScrollArea *mListScrollArea;