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/actionmanager.cpp | |
parent | 829cd57e021ea85cffdbd3f3a7b18da835e00b7c (diff) | |
download | ManaVerse-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/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index 004c997f9..0c9d75b5b 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -42,6 +42,8 @@ #include "gui/sdlinput.h" #include "gui/viewport.h" +#include "gui/popups/popupmenu.h" + #include "gui/windows/skilldialog.h" #include "gui/windows/socialwindow.h" #include "gui/windows/statuswindow.h" @@ -1122,9 +1124,10 @@ impHandler0(showKeyboard) impHandler0(showWindows) { - if (popupManager) + if (popupMenu) { - popupManager->showWindowsPopup(); + popupMenu->showWindowsPopup(viewport->getMouseX(), + viewport->getMouseY()); return true; } return false; |