Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsdialog.cpp
Show First 20 Lines • Show All 210 Lines • ▼ Show 20 Lines | if (_model && _model->getOptionsModel()) { | ||||
connect(_model->getOptionsModel(), | connect(_model->getOptionsModel(), | ||||
SIGNAL(coinControlFeaturesChanged(bool)), this, | SIGNAL(coinControlFeaturesChanged(bool)), this, | ||||
SLOT(coinControlFeatureChanged(bool))); | SLOT(coinControlFeatureChanged(bool))); | ||||
ui->frameCoinControl->setVisible( | ui->frameCoinControl->setVisible( | ||||
_model->getOptionsModel()->getCoinControlFeatures()); | _model->getOptionsModel()->getCoinControlFeatures()); | ||||
coinControlUpdateLabels(); | coinControlUpdateLabels(); | ||||
// fee section | // fee section | ||||
for (const int &n : confTargets) { | for (const int n : confTargets) { | ||||
ui->confTargetSelector->addItem( | ui->confTargetSelector->addItem( | ||||
tr("%1 (%2 blocks)") | tr("%1 (%2 blocks)") | ||||
.arg(GUIUtil::formatNiceTimeOffset( | .arg(GUIUtil::formatNiceTimeOffset( | ||||
n * Params().GetConsensus().nPowTargetSpacing)) | n * Params().GetConsensus().nPowTargetSpacing)) | ||||
.arg(n)); | .arg(n)); | ||||
} | } | ||||
connect(ui->confTargetSelector, SIGNAL(currentIndexChanged(int)), this, | connect(ui->confTargetSelector, SIGNAL(currentIndexChanged(int)), this, | ||||
SLOT(updateSmartFeeLabel())); | SLOT(updateSmartFeeLabel())); | ||||
▲ Show 20 Lines • Show All 805 Lines • Show Last 20 Lines |