mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
Merge pull request #1418 from Diapolo/GUI_fix_default_proxy_addr
fix default Proxy address in Qt options (no hostname allowed currently)
This commit is contained in:
commit
afdd59416e
@ -148,7 +148,7 @@ QVariant OptionsModel::data(const QModelIndex & index, int role) const
|
|||||||
if (GetProxy(NET_IPV4, addrProxy))
|
if (GetProxy(NET_IPV4, addrProxy))
|
||||||
return QVariant(QString::fromStdString(addrProxy.ToStringIP()));
|
return QVariant(QString::fromStdString(addrProxy.ToStringIP()));
|
||||||
else
|
else
|
||||||
return QVariant(QString::fromStdString("localhost"));
|
return QVariant(QString::fromStdString("127.0.0.1"));
|
||||||
}
|
}
|
||||||
case ProxyPort: {
|
case ProxyPort: {
|
||||||
CService addrProxy;
|
CService addrProxy;
|
||||||
|
Loading…
Reference in New Issue
Block a user