aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsmodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-18 11:53:25 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-18 11:53:25 +0200
commit0f3981bea94cea957f0de4b128f7feffbfc2d9c6 (patch)
tree28b8fa9cf6dfdbf9b2f1358c35327264adfe200d /src/qt/optionsmodel.cpp
parentaa5297266093eccd984a2d8fb20499617ef96c81 (diff)
remove commented code, use // for one-line comments and comments inside functions
Diffstat (limited to 'src/qt/optionsmodel.cpp')
-rw-r--r--src/qt/optionsmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/optionsmodel.cpp b/src/qt/optionsmodel.cpp
index 1528fdf697..3788f9fd7c 100644
--- a/src/qt/optionsmodel.cpp
+++ b/src/qt/optionsmodel.cpp
@@ -75,7 +75,7 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in
break;
case ProxyIP:
{
- /* Use CAddress to parse IP */
+ // Use CAddress to parse and check IP
CAddress addr(value.toString().toStdString() + ":1");
if (addr.ip != INADDR_NONE)
{
@@ -111,7 +111,7 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in
}
else
{
- successful = false; /* parse error */
+ successful = false; // Parse error
}
}
break;