diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-17 13:40:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-17 13:40:14 +0300 |
commit | 2cb9f5c3d47077a459fabf15800b1c45cfdacb3a (patch) | |
tree | ad6eba1142495acd31dc8a50b56988a26350f2d5 /src/gui/windows/inventorywindow.cpp | |
parent | 829cd57e021ea85cffdbd3f3a7b18da835e00b7c (diff) | |
download | mv-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.tar.gz mv-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.tar.bz2 mv-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.tar.xz mv-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.zip |
Remove proxy methods used for access popup menu.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 5d12c95d4..d148d4d7d 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -40,6 +40,7 @@ #include "gui/models/sortlistmodelinv.h" +#include "gui/popups/popupmenu.h" #include "gui/popups/textpopup.h" #include "gui/windows/equipmentwindow.h" @@ -467,8 +468,8 @@ void InventoryWindow::mouseClicked(MouseEvent &event) const int mx = event.getX() + getX(); const int my = event.getY() + getY(); - if (popupManager) - popupManager->showPopup(this, mx, my, item, isMainInventory()); + if (popupMenu) + popupMenu->showPopup(this, mx, my, item, isMainInventory()); } if (!mInventory) |