From fc23b24f67b5c8dc6744df01fbb9b05aee93a70c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 Jul 2015 23:05:26 +0300 Subject: Remove default parameters from item popup. --- src/gui/popups/itempopup.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/gui/popups') 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; -- cgit v1.2.3-60-g2f50