From 3e9f4cee927cd1e6d49d769883b0d42f91c1e5ad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Aug 2014 12:45:37 +0300 Subject: In popupmenu rename showOutfitsPopup into showOutfitsWindowPopup. --- src/gui/popups/popupmenu.cpp | 2 +- src/gui/popups/popupmenu.h | 2 +- src/gui/windows/outfitwindow.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 0add7e10d..00256fcbe 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -565,7 +565,7 @@ void PopupMenu::showMapPopup(const int x, const int y, showPopup(x, y); } -void PopupMenu::showOutfitsPopup(const int x, const int y) +void PopupMenu::showOutfitsWindowPopup(const int x, const int y) { mX = x; mY = y; diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h index f9b8cc639..6a991c9e8 100644 --- a/src/gui/popups/popupmenu.h +++ b/src/gui/popups/popupmenu.h @@ -103,7 +103,7 @@ class PopupMenu final : public Popup, public LinkHandler void showDropPopup(const int x, const int y, Item *const item); - void showOutfitsPopup(const int x, const int y); + void showOutfitsWindowPopup(const int x, const int y); void showSpellPopup(const int x, const int y, TextCommand *const cmd); diff --git a/src/gui/windows/outfitwindow.cpp b/src/gui/windows/outfitwindow.cpp index 8fda44a2b..cc162d0ca 100644 --- a/src/gui/windows/outfitwindow.cpp +++ b/src/gui/windows/outfitwindow.cpp @@ -426,7 +426,7 @@ void OutfitWindow::mousePressed(MouseEvent &event) const int index = getIndexFromGrid(event.getX(), event.getY()); if (event.getButton() == MouseButton::RIGHT && popupMenu) { - popupMenu->showOutfitsPopup(viewport->mMouseX, + popupMenu->showOutfitsWindowPopup(viewport->mMouseX, viewport->mMouseY); event.consume(); return; -- cgit v1.2.3-70-g09d2