summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
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)