summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
-rw-r--r--src/gui/widgets/itemlinkhandler.cpp2
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp2
-rw-r--r--src/gui/widgets/shoplistbox.cpp2
-rw-r--r--src/gui/widgets/virtshortcutcontainer.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 17c0d9cf1..9cfa0345d 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -684,7 +684,7 @@ void ItemContainer::mouseMoved(MouseEvent &event)
if (item && viewport)
{
- itemPopup->setItem(item);
+ itemPopup->setItem(item, false);
itemPopup->position(viewport->mMouseX, viewport->mMouseY);
}
else
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);
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index eba9fd848..689d967c8 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -556,7 +556,7 @@ void ItemShortcutContainer::mouseMoved(MouseEvent &event)
const Item *const item = inv->findItem(itemId, itemColor);
if (item && viewport)
{
- itemPopup->setItem(item);
+ itemPopup->setItem(item, false);
itemPopup->position(viewport->mMouseX, viewport->mMouseY);
}
else
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp
index 788a493a9..c8f1bd889 100644
--- a/src/gui/widgets/shoplistbox.cpp
+++ b/src/gui/widgets/shoplistbox.cpp
@@ -218,7 +218,7 @@ void ShopListBox::mouseMoved(MouseEvent &event)
const Item *const item = mShopItems->at(index);
if (item)
{
- itemPopup->setItem(item);
+ itemPopup->setItem(item, false);
itemPopup->position(viewport->mMouseX, viewport->mMouseY);
}
else
diff --git a/src/gui/widgets/virtshortcutcontainer.cpp b/src/gui/widgets/virtshortcutcontainer.cpp
index 2d72234a0..3c28f244f 100644
--- a/src/gui/widgets/virtshortcutcontainer.cpp
+++ b/src/gui/widgets/virtshortcutcontainer.cpp
@@ -360,7 +360,7 @@ void VirtShortcutContainer::mouseMoved(MouseEvent &event)
if (item && viewport)
{
- itemPopup->setItem(item);
+ itemPopup->setItem(item, false);
itemPopup->position(viewport->mMouseX, viewport->mMouseY);
}
else