2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Get rid of redudant cmake options

This commit is contained in:
Ilya Fedin
2020-08-31 12:26:16 +04:00
committed by John Preston
parent f128665f6b
commit 70c993774a
9 changed files with 6 additions and 44 deletions

View File

@@ -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 {