mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 13:41:26 -07:00
Add pointer qualifications to auto
-typed variables
This commit is contained in:
parent
8c9b6e2f2d
commit
e408973ee6
27 changed files with 78 additions and 78 deletions
|
@ -616,7 +616,7 @@ void AppController::setPreferencesAction()
|
|||
session->setMaxUploadsPerTorrent(it.value().toInt());
|
||||
|
||||
// Proxy Server
|
||||
auto proxyManager = Net::ProxyConfigurationManager::instance();
|
||||
auto *proxyManager = Net::ProxyConfigurationManager::instance();
|
||||
Net::ProxyConfiguration proxyConf = proxyManager->proxyConfiguration();
|
||||
if (hasKey(u"proxy_type"_qs))
|
||||
proxyConf.type = Utils::String::toEnum(it.value().toString(), Net::ProxyType::HTTP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue