Browse Source

fix dialogue. hard-code localhost address so ipv6 address isn't resolved.

cl-refactor
subtly 10 years ago
parent
commit
4e62b874e8
  1. 5
      alethzero/Connect.cpp
  2. 2
      alethzero/MainWin.cpp

5
alethzero/Connect.cpp

@ -28,7 +28,7 @@ Connect::Connect(QWidget *parent) :
QDialog(parent),
ui(new Ui::Connect)
{
reset();
ui->setupUi(this);
}
Connect::~Connect()
@ -43,7 +43,8 @@ void Connect::setEnvironment(QStringList const& _nodes)
void Connect::reset()
{
ui->setupUi(this);
ui->nodeId->clear();
ui->required->setChecked(false);
}
QString Connect::host()

2
alethzero/MainWin.cpp

@ -142,7 +142,7 @@ Main::Main(QWidget *parent) :
#endif
#if ETH_DEBUG
m_servers.append("localhost:30300");
m_servers.append("127.0.0.1:30300");
#endif
m_servers.append(QString::fromStdString(Host::pocHost() + ":30303"));

Loading…
Cancel
Save