diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-14 23:05:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-14 23:05:26 +0300 |
commit | fc23b24f67b5c8dc6744df01fbb9b05aee93a70c (patch) | |
tree | a27cec2a2ae2d712bead95780e7356e4cf8fb453 /src/gui/popups/itempopup.h | |
parent | 26b43e7164214e8c9e5cdb8842a79a4fcc1493da (diff) | |
download | manaverse-fc23b24f67b5c8dc6744df01fbb9b05aee93a70c.tar.gz manaverse-fc23b24f67b5c8dc6744df01fbb9b05aee93a70c.tar.bz2 manaverse-fc23b24f67b5c8dc6744df01fbb9b05aee93a70c.tar.xz manaverse-fc23b24f67b5c8dc6744df01fbb9b05aee93a70c.zip |
Remove default parameters from item popup.
Diffstat (limited to 'src/gui/popups/itempopup.h')
-rw-r--r-- | src/gui/popups/itempopup.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/popups/itempopup.h b/src/gui/popups/itempopup.h index 32ace3af3..4c63ff785 100644 --- a/src/gui/popups/itempopup.h +++ b/src/gui/popups/itempopup.h @@ -57,10 +57,13 @@ class ItemPopup final : public Popup /** * Sets the info to be displayed given a particular item. */ - void setItem(const ItemInfo &item, const unsigned char color, - const bool showImage = false, int id = -1); + void setItem(const ItemInfo &item, + const unsigned char color, + const bool showImage, + int id); - void setItem(const Item *const item, const bool showImage = false); + void setItem(const Item *const item, + const bool showImage); void mouseMoved(MouseEvent &event) override final; |