CLOUD: Move openUrl to OSystem
This commit is contained in:
parent
dff88b1058
commit
1f2a50bcd3
20 changed files with 115 additions and 333 deletions
|
@ -30,7 +30,6 @@
|
|||
#ifdef USE_SDL_NET
|
||||
#include "backends/networking/sdl_net/localwebserver.h"
|
||||
#endif
|
||||
#include "backends/networking/browser/openurl.h"
|
||||
#include "common/translation.h"
|
||||
|
||||
namespace GUI {
|
||||
|
@ -206,7 +205,7 @@ void StorageWizardDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
|
|||
break;
|
||||
}
|
||||
case kOpenUrlCmd: {
|
||||
if (!Networking::Browser::openUrl(getUrl())) {
|
||||
if (!g_system->openUrl(getUrl())) {
|
||||
MessageDialog alert(_("Failed to open URL!\nPlease navigate to this page manually."));
|
||||
alert.runModal();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue