aboutsummaryrefslogtreecommitdiff
path: root/gui/downloaddialog.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-12 14:00:11 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitd795c77ef53720fa423d9b827a66d1bea8b8e761 (patch)
tree2fac5ef89c3a83298dc151c247198df3f73617b9 /gui/downloaddialog.h
parent5c60cd14c2cf27e4b0c03183cef1b1b2e596782a (diff)
downloadscummvm-rg350-d795c77ef53720fa423d9b827a66d1bea8b8e761.tar.gz
scummvm-rg350-d795c77ef53720fa423d9b827a66d1bea8b8e761.tar.bz2
scummvm-rg350-d795c77ef53720fa423d9b827a66d1bea8b8e761.zip
GUI: Fix DownloadDialog detection
Now it calls Launcher directly, so it updates games list on success.
Diffstat (limited to 'gui/downloaddialog.h')
-rw-r--r--gui/downloaddialog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/downloaddialog.h b/gui/downloaddialog.h
index 39c4cea2e4..4b277c8334 100644
--- a/gui/downloaddialog.h
+++ b/gui/downloaddialog.h
@@ -28,6 +28,7 @@
#include <backends/cloud/storage.h>
namespace GUI {
+class LauncherDialog;
class CommandSender;
class EditTextWidget;
@@ -43,6 +44,7 @@ enum DownloadProgress {
};
class DownloadDialog : public Dialog {
+ LauncherDialog *_launcher;
BrowserDialog *_browser;
RemoteBrowserDialog *_remoteBrowser;
@@ -58,10 +60,9 @@ class DownloadDialog : public Dialog {
void refreshWidgets();
bool selectDirectories();
- void addGame();
public:
- DownloadDialog(uint32 storageId);
+ DownloadDialog(uint32 storageId, LauncherDialog *launcher);
virtual ~DownloadDialog();
virtual void open();