Enable IsDeveloper flag when we check updates in _DEBUG

This commit is contained in:
David Capello 2014-12-05 10:38:22 -03:00
parent 0a68125372
commit 58ad5e2ecb

View File

@ -90,7 +90,11 @@ CheckUpdateThreadLauncher::CheckUpdateThreadLauncher()
, m_received(false)
, m_inits(get_config_int("Updater", "Inits", 0))
, m_exits(get_config_int("Updater", "Exits", 0))
#ifdef _DEBUG
, m_isDeveloper(true)
#else
, m_isDeveloper(get_config_bool("Updater", "IsDeveloper", false))
#endif
, m_timer(kMonitoringPeriod, NULL)
{
// Get how many days we have to wait for the next "check for update"