mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Don't use pass by reference to const for cheaply-copied types (bool, char, etc.).
This commit is contained in:
@@ -171,7 +171,7 @@ void SendCoinsDialog::setModel(WalletModel *_model)
|
||||
coinControlUpdateLabels();
|
||||
|
||||
// fee section
|
||||
for (const int &n : confTargets) {
|
||||
for (const int n : confTargets) {
|
||||
ui->confTargetSelector->addItem(tr("%1 (%2 blocks)").arg(GUIUtil::formatNiceTimeOffset(n*Params().GetConsensus().nPowTargetSpacing)).arg(n));
|
||||
}
|
||||
connect(ui->confTargetSelector, SIGNAL(currentIndexChanged(int)), this, SLOT(updateSmartFeeLabel()));
|
||||
|
||||
Reference in New Issue
Block a user