aboutsummaryrefslogtreecommitdiff
path: root/gui/src/optionsmodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2011-06-07 18:59:01 +0200
committerWladimir J. van der Laan <[email protected]>2011-06-07 18:59:01 +0200
commit8e86dca256624d76022be3b461b736dfc1f87625 (patch)
tree96bc89eaca145fff87bbda6a9c4fd4984cb61c51 /gui/src/optionsmodel.cpp
parentalign "amount" input in send coins dialog to the right (diff)
downloaddiscoin-8e86dca256624d76022be3b461b736dfc1f87625.tar.xz
discoin-8e86dca256624d76022be3b461b736dfc1f87625.zip
consistent bracing style
Diffstat (limited to 'gui/src/optionsmodel.cpp')
-rw-r--r--gui/src/optionsmodel.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/gui/src/optionsmodel.cpp b/gui/src/optionsmodel.cpp
index 37d5cb158..1528fdf69 100644
--- a/gui/src/optionsmodel.cpp
+++ b/gui/src/optionsmodel.cpp
@@ -81,7 +81,9 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in
{
addrProxy.ip = addr.ip;
walletdb.WriteSetting("addrProxy", addrProxy);
- } else {
+ }
+ else
+ {
successful = false;
}
}
@@ -93,7 +95,9 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in
{
addrProxy.port = htons(nPort);
walletdb.WriteSetting("addrProxy", addrProxy);
- } else {
+ }
+ else
+ {
successful = false;
}
}
@@ -104,7 +108,9 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in
{
nTransactionFee = retval;
walletdb.WriteSetting("nTransactionFee", nTransactionFee);
- } else {
+ }
+ else
+ {
successful = false; /* parse error */
}
}