@ -492,8 +492,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
@@ -492,8 +492,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
coinControl - > ListSelected ( vCoinControl ) ;
model - > getOutputs ( vCoinControl , vOutputs ) ;
BOOST_FOREACH ( const COutput & out , vOutputs )
{
BOOST_FOREACH ( const COutput & out , vOutputs ) {
// unselect already spent, very unlikely scenario, this could happen
// when selected are spent elsewhere, like rpc or another computer
uint256 txhash = out . tx - > GetHash ( ) ;
@ -691,8 +690,7 @@ void CoinControlDialog::updateView()
@@ -691,8 +690,7 @@ void CoinControlDialog::updateView()
map < QString , vector < COutput > > mapCoins ;
model - > listCoins ( mapCoins ) ;
BOOST_FOREACH ( PAIRTYPE ( QString , vector < COutput > ) coins , mapCoins )
{
BOOST_FOREACH ( const PAIRTYPE ( QString , vector < COutput > ) & coins , mapCoins ) {
QTreeWidgetItem * itemWalletAddress = new QTreeWidgetItem ( ) ;
itemWalletAddress - > setCheckState ( COLUMN_CHECKBOX , Qt : : Unchecked ) ;
QString sWalletAddress = coins . first ;
@ -719,8 +717,7 @@ void CoinControlDialog::updateView()
@@ -719,8 +717,7 @@ void CoinControlDialog::updateView()
double dPrioritySum = 0 ;
int nChildren = 0 ;
int nInputSum = 0 ;
BOOST_FOREACH ( const COutput & out , coins . second )
{
BOOST_FOREACH ( const COutput & out , coins . second ) {
int nInputSize = 0 ;
nSum + = out . tx - > vout [ out . i ] . nValue ;
nChildren + + ;