summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-10 02:29:41 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-10 02:29:41 +0200
commit415af32db3321d4b3a8026da46dda451cf44c735 (patch)
tree3bb14334ffa98fceb1bdd87e6981a0046d26bb0e /src/gui/viewport.cpp
parent2fd9c226b15c4a30c728601b493a82942f9fe7bf (diff)
downloadplus-415af32db3321d4b3a8026da46dda451cf44c735.tar.gz
plus-415af32db3321d4b3a8026da46dda451cf44c735.tar.bz2
plus-415af32db3321d4b3a8026da46dda451cf44c735.tar.xz
plus-415af32db3321d4b3a8026da46dda451cf44c735.zip
Impliment show/hide bars in left top corner.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 11918f0b7..5bd16ade1 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -42,6 +42,7 @@
#include "gui/widgets/button.h"
#include "gui/widgets/chattab.h"
+#include "gui/widgets/progressbar.h"
#include "net/net.h"
@@ -611,6 +612,11 @@ void Viewport::showPopup(int x, int y, Button *button)
mPopupMenu->showPopup(x, y, button);
}
+void Viewport::showPopup(int x, int y, ProgressBar *bar)
+{
+ mPopupMenu->showPopup(x, y, bar);
+}
+
void Viewport::closePopupMenu()
{
if (mPopupMenu)