summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-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;