From 4fc40c384a3423e43f2e589809c9bc9aa8bda495 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Sep 2014 20:02:02 +0300 Subject: For some popup menus use current mouse position. --- src/gui/windows/whoisonline.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index 57d36e57c..c71eb4055 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -217,9 +217,7 @@ void WhoIsOnline::handleLink(const std::string& link, MouseEvent *event) return; } } - popupMenu->showPlayerPopup(viewport->mMouseX, - viewport->mMouseY, - link); + popupMenu->showPlayerPopup(link); } } } -- cgit v1.2.3-70-g09d2