mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Get rid of redudant cmake options
This commit is contained in:
@@ -446,7 +446,6 @@ void Sandbox::checkForQuit() {
|
||||
}
|
||||
|
||||
void Sandbox::refreshGlobalProxy() {
|
||||
#ifndef TDESKTOP_DISABLE_NETWORK_PROXY
|
||||
const auto proxy = !Global::started()
|
||||
? _sandboxProxy
|
||||
: (Global::ProxySettings() == MTP::ProxyData::Settings::Enabled)
|
||||
@@ -462,7 +461,6 @@ void Sandbox::refreshGlobalProxy() {
|
||||
} else {
|
||||
QNetworkProxy::setApplicationProxy(QNetworkProxy::NoProxy);
|
||||
}
|
||||
#endif // TDESKTOP_DISABLE_NETWORK_PROXY
|
||||
}
|
||||
|
||||
uint64 Sandbox::installationTag() const {
|
||||
|
Reference in New Issue
Block a user