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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user