diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-01-17 09:27:03 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-01-17 09:27:03 +0100 |
| commit | be4d08b261f8c8d08d5b28271e2f8234dc7de763 (patch) | |
| tree | 6561ad35568a7a5ad2efb5ac08507bfd4149de63 /src/qt/optionsmodel.cpp | |
| parent | Revert to global progress indication (see #753) (diff) | |
| download | discoin-be4d08b261f8c8d08d5b28271e2f8234dc7de763.tar.xz discoin-be4d08b261f8c8d08d5b28271e2f8234dc7de763.zip | |
fix the build (port IP validation in options to network refactoring)
Diffstat (limited to 'src/qt/optionsmodel.cpp')
| -rw-r--r-- | src/qt/optionsmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/optionsmodel.cpp b/src/qt/optionsmodel.cpp index 3237845c2..241db345b 100644 --- a/src/qt/optionsmodel.cpp +++ b/src/qt/optionsmodel.cpp @@ -87,7 +87,7 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in case ProxyIP: { // Use CAddress to parse and check IP - CAddress addr(value.toString().toStdString() + ":1"); + CNetAddr addr(value.toString().toStdString()); if (addr.IsValid()) { addrProxy.SetIP(addr); |