diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-07 18:59:01 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-06-07 18:59:01 +0200 |
| commit | 8e86dca256624d76022be3b461b736dfc1f87625 (patch) | |
| tree | 96bc89eaca145fff87bbda6a9c4fd4984cb61c51 /gui/src/optionsmodel.cpp | |
| parent | align "amount" input in send coins dialog to the right (diff) | |
| download | discoin-8e86dca256624d76022be3b461b736dfc1f87625.tar.xz discoin-8e86dca256624d76022be3b461b736dfc1f87625.zip | |
consistent bracing style
Diffstat (limited to 'gui/src/optionsmodel.cpp')
| -rw-r--r-- | gui/src/optionsmodel.cpp | 12 |
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 */ } } |