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:
Pieter Wuille 2012-06-05 11:13:25 -07:00
commit afdd59416e

View File

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