aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/storagewizarddialog.cpp8
-rw-r--r--gui/themes/translations.datbin579375 -> 582141 bytes
2 files changed, 5 insertions, 3 deletions
diff --git a/gui/storagewizarddialog.cpp b/gui/storagewizarddialog.cpp
index 9d6ba38109..22b87f5244 100644
--- a/gui/storagewizarddialog.cpp
+++ b/gui/storagewizarddialog.cpp
@@ -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();
}
@@ -293,7 +292,10 @@ void StorageWizardDialog::containerWidgetsReflow() {
if (_picture) {
_picture->setVisible(g_system->getOverlayWidth() > 320);
}
- if (_openUrlWidget) _openUrlWidget->setVisible(true);
+ if (_openUrlWidget) {
+ bool visible = g_system->hasFeature(OSystem::kFeatureOpenUrl);
+ _openUrlWidget->setVisible(visible);
+ }
if (_pasteCodeWidget) {
bool visible = showFields && g_system->hasFeature(OSystem::kFeatureClipboardSupport);
_pasteCodeWidget->setVisible(visible);
diff --git a/gui/themes/translations.dat b/gui/themes/translations.dat
index 8ae5262939..49e03a05b9 100644
--- a/gui/themes/translations.dat
+++ b/gui/themes/translations.dat
Binary files differ