aboutsummaryrefslogtreecommitdiff
path: root/gui/downloaddialog.cpp
diff options
context:
space:
mode:
authorCameron Cawley2019-06-20 21:14:04 +0100
committerFilippos Karapetis2019-06-21 08:19:37 +0300
commitb9e29cedfc1ad4ee5930245de059fb1701bea793 (patch)
treed21907fd727eb26f6bc877ad8f35237b5799e7ae /gui/downloaddialog.cpp
parentb49c7fa644928406b894f40fc26e514442eb16bf (diff)
downloadscummvm-rg350-b9e29cedfc1ad4ee5930245de059fb1701bea793.tar.gz
scummvm-rg350-b9e29cedfc1ad4ee5930245de059fb1701bea793.tar.bz2
scummvm-rg350-b9e29cedfc1ad4ee5930245de059fb1701bea793.zip
ANDROID: Move isConnectionLimited into OSystem
Diffstat (limited to 'gui/downloaddialog.cpp')
-rw-r--r--gui/downloaddialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/downloaddialog.cpp b/gui/downloaddialog.cpp
index 4df7dc7707..526a89538f 100644
--- a/gui/downloaddialog.cpp
+++ b/gui/downloaddialog.cpp
@@ -22,7 +22,6 @@
#include "gui/downloaddialog.h"
#include "backends/cloud/cloudmanager.h"
-#include "backends/networking/connection/islimited.h"
#include "common/config-manager.h"
#include "common/translation.h"
#include "engines/metaengine.h"
@@ -114,7 +113,7 @@ void DownloadDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
}
bool DownloadDialog::selectDirectories() {
- if (Networking::Connection::isLimited()) {
+ if (g_system->isConnectionLimited()) {
MessageDialog alert(_("It looks like your connection is limited. "
"Do you really want to download files with it?"), _("Yes"), _("No"));
if (alert.runModal() != GUI::kMessageOK)