diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-02-10 02:29:41 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-10 02:29:41 +0200 |
commit | 415af32db3321d4b3a8026da46dda451cf44c735 (patch) | |
tree | 3bb14334ffa98fceb1bdd87e6981a0046d26bb0e /src/gui/viewport.cpp | |
parent | 2fd9c226b15c4a30c728601b493a82942f9fe7bf (diff) | |
download | mv-415af32db3321d4b3a8026da46dda451cf44c735.tar.gz mv-415af32db3321d4b3a8026da46dda451cf44c735.tar.bz2 mv-415af32db3321d4b3a8026da46dda451cf44c735.tar.xz mv-415af32db3321d4b3a8026da46dda451cf44c735.zip |
Impliment show/hide bars in left top corner.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 6 |
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) |