From d119e4425f418afe1198839a57e7b186d717d587 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Aug 2014 21:05:17 +0300 Subject: Remove getters for mouse position and use direct variables. --- src/gui/windows/itemamountwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/itemamountwindow.cpp') diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 5f0f063e1..67dc5ee75 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -275,7 +275,7 @@ void ItemAmountWindow::mouseMoved(MouseEvent &event) if (event.getSource() == mItemIcon) { itemPopup->setItem(mItem); - itemPopup->position(viewport->getMouseX(), viewport->getMouseY()); + itemPopup->position(viewport->mMouseX, viewport->mMouseY); } } -- cgit v1.2.3-70-g09d2