aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-01 21:32:16 +0200
committerEugene Sandulenko2016-04-01 21:32:16 +0200
commit5baa657f2586ec9596768920861f1645dd5a4856 (patch)
treee073af059ddb66d3bfdcf644aedf1ca8f61d2e15 /gui
parenta743ec2e07ccada0286085ecec54f4d87ed49d44 (diff)
downloadscummvm-rg350-5baa657f2586ec9596768920861f1645dd5a4856.tar.gz
scummvm-rg350-5baa657f2586ec9596768920861f1645dd5a4856.tar.bz2
scummvm-rg350-5baa657f2586ec9596768920861f1645dd5a4856.zip
UPDATES: Remove an unneeded check
Diffstat (limited to 'gui')
-rw-r--r--gui/options.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index c6bbde7abf..ecd1607e1b 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -1242,10 +1242,7 @@ GlobalOptionsDialog::GlobalOptionsDialog()
vals++;
}
- if (ConfMan.hasKey("updates_check"))
- _updatesPopUp->setSelectedTag(Common::UpdateManager::normalizeInterval(ConfMan.getInt("updates_check")));
- else
- _updatesPopUp->setSelectedTag(Common::UpdateManager::kUpdateIntervalNotSupported);
+ _updatesPopUp->setSelectedTag(Common::UpdateManager::normalizeInterval(ConfMan.getInt("updates_check")));
new ButtonWidget(tab, "GlobalOptions_Misc.UpdatesCheckManuallyButton", _("Check now"), 0, kUpdatesCheckCmd);
#endif