[Scummvm-git-logs] scummvm master -> ff217ea033aed69289bcf1400212917f01d7bf5e
bgK
bastien.bouclet at gmail.com
Sat Sep 10 07:50:12 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ff217ea033 GUI: Don't show the "Open URL" button if there is no backend support
Commit: ff217ea033aed69289bcf1400212917f01d7bf5e
https://github.com/scummvm/scummvm/commit/ff217ea033aed69289bcf1400212917f01d7bf5e
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2016-09-10T07:46:52+02:00
Commit Message:
GUI: Don't show the "Open URL" button if there is no backend support
Changed paths:
gui/storagewizarddialog.cpp
diff --git a/gui/storagewizarddialog.cpp b/gui/storagewizarddialog.cpp
index a207c7b..22b87f5 100644
--- a/gui/storagewizarddialog.cpp
+++ b/gui/storagewizarddialog.cpp
@@ -292,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);
More information about the Scummvm-git-logs
mailing list