diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-16 14:41:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-16 14:41:11 +0300 |
commit | 70d4f24f38a4036f84c1f71803173199e95ad675 (patch) | |
tree | 0abd0ad2c45092e07a39011602fbd6ab60b3a513 /src/gui/viewport.cpp | |
parent | 90752e4a52d85ac3c77ed2ed28227e8a45b250ab (diff) | |
download | plus-70d4f24f38a4036f84c1f71803173199e95ad675.tar.gz plus-70d4f24f38a4036f84c1f71803173199e95ad675.tar.bz2 plus-70d4f24f38a4036f84c1f71803173199e95ad675.tar.xz plus-70d4f24f38a4036f84c1f71803173199e95ad675.zip |
Add context menu to browserbox http links.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 5 |
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) |