summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-16 14:41:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-16 14:41:11 +0300
commit70d4f24f38a4036f84c1f71803173199e95ad675 (patch)
tree0abd0ad2c45092e07a39011602fbd6ab60b3a513 /src/gui/viewport.cpp
parent90752e4a52d85ac3c77ed2ed28227e8a45b250ab (diff)
downloadmanaplus-70d4f24f38a4036f84c1f71803173199e95ad675.tar.gz
manaplus-70d4f24f38a4036f84c1f71803173199e95ad675.tar.bz2
manaplus-70d4f24f38a4036f84c1f71803173199e95ad675.tar.xz
manaplus-70d4f24f38a4036f84c1f71803173199e95ad675.zip
Add context menu to browserbox http links.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 4b7a86fe6..3d8490dc5 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -821,6 +821,11 @@ void Viewport::showTextFieldPopup(TextField *input)
mPopupMenu->showTextFieldPopup(getMouseX(), getMouseY(), input);
}
+void Viewport::showLinkPopup(const std::string &link)
+{
+ mPopupMenu->showLinkPopup(getMouseX(), getMouseY(), link);
+}
+
void Viewport::closePopupMenu()
{
if (mPopupMenu)