diff options
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index 8a558236a..a760f49c8 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -32,7 +32,7 @@ #include "being/localplayer.h" #include "being/playerinfo.h" -#include "gui/viewport.h" +#include "gui/popupmanager.h" #include "gui/fonts/font.h" @@ -358,13 +358,13 @@ void EquipmentWindow::mousePressed(MouseEvent& event) */ const int mx = x + getX(); const int my = y + getY(); - if (viewport) + if (popupManager) { event.consume(); if (mForing) - viewport->showUndressPopup(mx, my, mBeing, item); + popupManager->showUndressPopup(mx, my, mBeing, item); else - viewport->showPopup(this, mx, my, item, true); + popupManager->showPopup(this, mx, my, item, true); return; } } |