diff --git a/src/app/check_update.cpp b/src/app/check_update.cpp index ca9f37b82..2b0cd3f98 100644 --- a/src/app/check_update.cpp +++ b/src/app/check_update.cpp @@ -88,6 +88,7 @@ CheckUpdateThreadLauncher::CheckUpdateThreadLauncher() , m_guiMonitor(NULL) , m_inits(get_config_int("Updater", "Inits", 0)) , m_exits(get_config_int("Updater", "Exits", 0)) + , m_isDeveloper(get_config_bool("Updater", "IsDeveloper", false)) { // Get how many days we have to wait for the next "check for update" int waitDays = get_config_int("Updater", "WaitDays", 0); @@ -202,6 +203,9 @@ void CheckUpdateThreadLauncher::checkForUpdates() extraParams << "inits=" << m_inits << "&exits=" << m_exits; + if (m_isDeveloper) + extraParams << "&dev=1"; + // Send the HTTP request to check for updates. m_bgJob->sendRequest(m_uuid, extraParams.str()); diff --git a/src/app/check_update.h b/src/app/check_update.h index 5ca58e9d9..2581fdca5 100644 --- a/src/app/check_update.h +++ b/src/app/check_update.h @@ -63,6 +63,9 @@ namespace app { // Mini-stats int m_inits; int m_exits; + + // True if this is a developer + bool m_isDeveloper; }; }