mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
consistent bracing style
This commit is contained in:
parent
6717457390
commit
8e86dca256
8 changed files with 97 additions and 36 deletions
|
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue