summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-08 22:44:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-08 22:44:39 +0300
commita61ac4664d55cddb18d2d861e76629bd07676129 (patch)
tree59f5ba3ff7e65bbe94651db9ad2cf68b847d8f96 /src/gui/popups/popupmenu.h
parentbb3a85b045a6135f7228023a7ba55fb1c9e6bd90 (diff)
downloadplus-a61ac4664d55cddb18d2d861e76629bd07676129.tar.gz
plus-a61ac4664d55cddb18d2d861e76629bd07676129.tar.bz2
plus-a61ac4664d55cddb18d2d861e76629bd07676129.tar.xz
plus-a61ac4664d55cddb18d2d861e76629bd07676129.zip
Add some missing const.
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r--src/gui/popups/popupmenu.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index ca6d58ee6..dfcb64513 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -108,13 +108,17 @@ class PopupMenu final : public Popup, public LinkHandler
void showPopup(const int x, const int y, MapItem *const mapItem);
- void showItemPopup(const int x, const int y, Item *const item);
+ void showItemPopup(const int x,
+ const int y,
+ const Item *const item);
void showItemPopup(const int x, const int y,
const int itemId,
const ItemColor color);
- void showDropPopup(const int x, const int y, Item *const item);
+ void showDropPopup(const int x,
+ const int y,
+ const Item *const item);
void showOutfitsWindowPopup(const int x, const int y);
@@ -204,7 +208,7 @@ class PopupMenu final : public Popup, public LinkHandler
void addNormalRelations();
- void addWindowMenu(Window *const window);
+ void addWindowMenu(const Window *const window);
#ifdef EATHENA_SUPPORT
void addChat(const Being *const being);