diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-14 23:05:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-14 23:05:26 +0300 |
commit | fc23b24f67b5c8dc6744df01fbb9b05aee93a70c (patch) | |
tree | a27cec2a2ae2d712bead95780e7356e4cf8fb453 /src/gui/widgets | |
parent | 26b43e7164214e8c9e5cdb8842a79a4fcc1493da (diff) | |
download | plus-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')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/shoplistbox.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/virtshortcutcontainer.cpp | 2 |
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 |