summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-07 20:02:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-07 20:02:02 +0300
commit4fc40c384a3423e43f2e589809c9bc9aa8bda495 (patch)
treebe68429d688d6ef7bcba72c865ebcd080db871c6 /src/gui/windows/whoisonline.cpp
parent249d59d10905f46ee91683d08386c7bc9936bc4b (diff)
downloadmanaplus-4fc40c384a3423e43f2e589809c9bc9aa8bda495.tar.gz
manaplus-4fc40c384a3423e43f2e589809c9bc9aa8bda495.tar.bz2
manaplus-4fc40c384a3423e43f2e589809c9bc9aa8bda495.tar.xz
manaplus-4fc40c384a3423e43f2e589809c9bc9aa8bda495.zip
For some popup menus use current mouse position.
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp4
1 files changed, 1 insertions, 3 deletions
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);
}
}
}