summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemlinkhandler.cpp
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/widgets/itemlinkhandler.cpp
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/widgets/itemlinkhandler.cpp')
-rw-r--r--src/gui/widgets/itemlinkhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp
index a9ffd3d7b..40ec08c33 100644
--- a/src/gui/widgets/itemlinkhandler.cpp
+++ b/src/gui/widgets/itemlinkhandler.cpp
@@ -118,7 +118,7 @@ void ItemLinkHandler::handleLink(const std::string &link, MouseEvent *event)
if (id > 0)
{
const ItemInfo &itemInfo = ItemDB::get(id);
- itemPopup->setItem(itemInfo, color, true);
+ itemPopup->setItem(itemInfo, color, true, -1);
if (itemPopup->isPopupVisible())
{
itemPopup->setVisible(Visible_false);