summaryrefslogtreecommitdiff
path: root/src/gui/windows/equipmentwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-17 13:40:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-17 13:40:14 +0300
commit2cb9f5c3d47077a459fabf15800b1c45cfdacb3a (patch)
treead6eba1142495acd31dc8a50b56988a26350f2d5 /src/gui/windows/equipmentwindow.cpp
parent829cd57e021ea85cffdbd3f3a7b18da835e00b7c (diff)
downloadManaVerse-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.tar.gz
ManaVerse-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.tar.bz2
ManaVerse-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.tar.xz
ManaVerse-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.zip
Remove proxy methods used for access popup menu.
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r--src/gui/windows/equipmentwindow.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index a760f49c8..5600de741 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -32,10 +32,9 @@
#include "being/localplayer.h"
#include "being/playerinfo.h"
-#include "gui/popupmanager.h"
-
#include "gui/fonts/font.h"
+#include "gui/popups/popupmenu.h"
#include "gui/popups/itempopup.h"
#include "gui/windows/setupwindow.h"
@@ -358,13 +357,13 @@ void EquipmentWindow::mousePressed(MouseEvent& event)
*/
const int mx = x + getX();
const int my = y + getY();
- if (popupManager)
+ if (popupMenu)
{
event.consume();
if (mForing)
- popupManager->showUndressPopup(mx, my, mBeing, item);
+ popupMenu->showUndressPopup(mx, my, mBeing, item);
else
- popupManager->showPopup(this, mx, my, item, true);
+ popupMenu->showPopup(this, mx, my, item, true);
return;
}
}