diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-17 13:53:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-17 13:53:16 +0300 |
commit | a9b9e09cfecc1ede11647bbbc09ddc198d783947 (patch) | |
tree | 7e3e125820f7961f01e00a66a2a4a816f385b921 /src/gui/viewport.cpp | |
parent | d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42 (diff) | |
download | manaverse-a9b9e09cfecc1ede11647bbbc09ddc198d783947.tar.gz manaverse-a9b9e09cfecc1ede11647bbbc09ddc198d783947.tar.bz2 manaverse-a9b9e09cfecc1ede11647bbbc09ddc198d783947.tar.xz manaverse-a9b9e09cfecc1ede11647bbbc09ddc198d783947.zip |
Remove proxy methods used for access being popup.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 761daf41f..9bacfeb94 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -45,6 +45,7 @@ #include "gui/fonts/font.h" +#include "gui/popups/beingpopup.h" #include "gui/popups/popupmenu.h" #include "gui/windows/ministatuswindow.h" @@ -763,8 +764,8 @@ void Viewport::mouseMoved(MouseEvent &event A_UNUSED) || type == ActorType::PET)) { popupManager->hideTextPopup(); - if (mShowBeingPopup) - popupManager->showBeingPopup(mMouseX, mMouseY, mHoverBeing); + if (mShowBeingPopup && beingPopup) + beingPopup->show(mMouseX, mMouseY, mHoverBeing); } else { |