summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-22 00:02:09 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-22 00:02:09 -0700
commit4406b2fd90a5d4656bc923bf5c751e4c5250a0d2 (patch)
treebf25813b8711fb1dd51a77104a63a9c9647a60df /src/gui/widgets/itemshortcutcontainer.cpp
parent7c925545419eeda0b0b26b290a9ec0412960fbd8 (diff)
downloadmana-4406b2fd90a5d4656bc923bf5c751e4c5250a0d2.tar.gz
mana-4406b2fd90a5d4656bc923bf5c751e4c5250a0d2.tar.bz2
mana-4406b2fd90a5d4656bc923bf5c751e4c5250a0d2.tar.xz
mana-4406b2fd90a5d4656bc923bf5c751e4c5250a0d2.zip
Cleanup some popup-related code and make sure BeingPopup is included
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index 7a81c097..b2ddcf0c 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -239,7 +239,7 @@ void ItemShortcutContainer::mouseMoved(gcn::MouseEvent &event)
if (item)
{
mItemPopup->setItem(item->getInfo());
- mItemPopup->view(viewport->getMouseX(), viewport->getMouseY());
+ mItemPopup->position(viewport->getMouseX(), viewport->getMouseY());
}
else
{