summaryrefslogtreecommitdiff
path: root/src/gui/popups/itempopup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-14 23:05:26 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-14 23:05:26 +0300
commitfc23b24f67b5c8dc6744df01fbb9b05aee93a70c (patch)
treea27cec2a2ae2d712bead95780e7356e4cf8fb453 /src/gui/popups/itempopup.h
parent26b43e7164214e8c9e5cdb8842a79a4fcc1493da (diff)
downloadplus-fc23b24f67b5c8dc6744df01fbb9b05aee93a70c.tar.gz
plus-fc23b24f67b5c8dc6744df01fbb9b05aee93a70c.tar.bz2
plus-fc23b24f67b5c8dc6744df01fbb9b05aee93a70c.tar.xz
plus-fc23b24f67b5c8dc6744df01fbb9b05aee93a70c.zip
Remove default parameters from item popup.
Diffstat (limited to 'src/gui/popups/itempopup.h')
-rw-r--r--src/gui/popups/itempopup.h9
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;