Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsdialog.cpp
Show First 20 Lines • Show All 198 Lines • ▼ Show 20 Lines | if (_model && _model->getOptionsModel()) { | ||||
SLOT(updateFeeSectionControls())); | SLOT(updateFeeSectionControls())); | ||||
connect(ui->checkBoxMinimumFee, SIGNAL(stateChanged(int)), this, | connect(ui->checkBoxMinimumFee, SIGNAL(stateChanged(int)), this, | ||||
SLOT(coinControlUpdateLabels())); | SLOT(coinControlUpdateLabels())); | ||||
ui->customFee->setSingleStep(model->wallet().getRequiredFee(1000)); | ui->customFee->setSingleStep(model->wallet().getRequiredFee(1000)); | ||||
updateFeeSectionControls(); | updateFeeSectionControls(); | ||||
updateMinFeeLabel(); | updateMinFeeLabel(); | ||||
updateSmartFeeLabel(); | updateSmartFeeLabel(); | ||||
// Cleanup old confirmation target related settings | |||||
// TODO: Remove these in 0.20 | |||||
QSettings settings; | |||||
if (settings.value("nSmartFeeSliderPosition").toInt() != 0) { | |||||
settings.remove("nSmartFeeSliderPosition"); | |||||
} | |||||
if (settings.value("nConfTarget").toInt() != 0) { | |||||
settings.remove("nConfTarget"); | |||||
} | |||||
} | } | ||||
} | } | ||||
SendCoinsDialog::~SendCoinsDialog() { | SendCoinsDialog::~SendCoinsDialog() { | ||||
QSettings settings; | QSettings settings; | ||||
settings.setValue("fFeeSectionMinimized", fFeeMinimized); | settings.setValue("fFeeSectionMinimized", fFeeMinimized); | ||||
settings.setValue("nFeeRadio", ui->groupFee->checkedId()); | settings.setValue("nFeeRadio", ui->groupFee->checkedId()); | ||||
settings.setValue("nCustomFeeRadio", ui->groupCustomFee->checkedId()); | settings.setValue("nCustomFeeRadio", ui->groupCustomFee->checkedId()); | ||||
▲ Show 20 Lines • Show All 716 Lines • Show Last 20 Lines |