Browse Source

Merge pull request #1418 from Diapolo/GUI_fix_default_proxy_addr

fix default Proxy address in Qt options (no hostname allowed currently)
miguelfreitas
Pieter Wuille 13 years ago
parent
commit
afdd59416e
  1. 2
      src/qt/optionsmodel.cpp

2
src/qt/optionsmodel.cpp

@ -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…
Cancel
Save