2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

dev-channel versions added

This commit is contained in:
John Preston
2015-02-05 14:49:50 +00:00
parent 2f7c1cca78
commit 6dada1294e
9 changed files with 75 additions and 28 deletions

View File

@@ -527,7 +527,10 @@ void Application::startUpdateCheck(bool forceWait) {
if (cManyInstance() && !cDebug()) return; // only main instance is updating
if (sendRequest) {
QNetworkRequest checkVersion(cUpdateURL());
QUrl url(cUpdateURL());
if (DevChannel) url.setQuery("dev=1");
QString u = url.toString();
QNetworkRequest checkVersion(url);
if (updateReply) updateReply->deleteLater();
App::setProxySettings(updateManager);