Browse Source

fix default Proxy address in Qt options (no hostname allowed currently)

0.8
Philip Kaufmann 13 years ago
parent
commit
4e16306ae3
  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