File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 26
26
#include " wallet/walletdb.h"
27
27
#endif
28
28
29
- #include < QNetworkProxy>
30
29
#include < QSettings>
31
30
#include < QStringList>
32
31
@@ -445,24 +444,6 @@ void OptionsModel::setDisplayUnit(const QVariant &value)
445
444
}
446
445
}
447
446
448
- bool OptionsModel::getProxySettings (QNetworkProxy& proxy) const
449
- {
450
- // Directly query current base proxy, because
451
- // GUI settings can be overridden with -proxy.
452
- proxyType curProxy;
453
- if (GetProxy (NET_IPV4, curProxy)) {
454
- proxy.setType (QNetworkProxy::Socks5Proxy);
455
- proxy.setHostName (QString::fromStdString (curProxy.proxy .ToStringIP ()));
456
- proxy.setPort (curProxy.proxy .GetPort ());
457
-
458
- return true ;
459
- }
460
- else
461
- proxy.setType (QNetworkProxy::NoProxy);
462
-
463
- return false ;
464
- }
465
-
466
447
void OptionsModel::setRestartRequired (bool fRequired )
467
448
{
468
449
QSettings settings;
You can’t perform that action at this time.
0 commit comments