diff options
author | Cameron Cawley | 2019-06-20 21:14:04 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-06-21 08:19:37 +0300 |
commit | b9e29cedfc1ad4ee5930245de059fb1701bea793 (patch) | |
tree | d21907fd727eb26f6bc877ad8f35237b5799e7ae /gui/downloaddialog.cpp | |
parent | b49c7fa644928406b894f40fc26e514442eb16bf (diff) | |
download | scummvm-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.cpp | 3 |
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) |