From c299dd24ab3974274cc36ec3fd542abb2e9adc89 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Wed, 10 Apr 2019 13:07:24 -0400 Subject: [PATCH] QT: fix qt linter --- src/qt/sendcoinsentry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/sendcoinsentry.cpp b/src/qt/sendcoinsentry.cpp index f3ed74d1ac..21975743ac 100644 --- a/src/qt/sendcoinsentry.cpp +++ b/src/qt/sendcoinsentry.cpp @@ -45,7 +45,7 @@ SendCoinsEntry::SendCoinsEntry(const PlatformStyle *_platformStyle, QWidget *par // Connect signals connect(ui->payAmount, &BitcoinAmountField::valueChanged, this, &SendCoinsEntry::payAmountChanged); connect(ui->checkboxSubtractFeeFromAmount, &QCheckBox::toggled, this, &SendCoinsEntry::subtractFeeFromAmountChanged); - connect(ui->payAmount, SIGNAL(valueChanged()), this, SLOT(payAmountChangedInternal())); + connect(ui->payAmount, &BitcoinAmountField::valueChanged, this, &SendCoinsEntry::payAmountChangedInternal); connect(ui->deleteButton, &QPushButton::clicked, this, &SendCoinsEntry::deleteClicked); connect(ui->deleteButton_is, &QPushButton::clicked, this, &SendCoinsEntry::deleteClicked); connect(ui->deleteButton_s, &QPushButton::clicked, this, &SendCoinsEntry::deleteClicked); @@ -87,7 +87,7 @@ void SendCoinsEntry::setModel(WalletModel *_model) if (_model && _model->getOptionsModel()) { connect(_model->getOptionsModel(), &OptionsModel::displayUnitChanged, this, &SendCoinsEntry::updateDisplayUnit); - connect(_model, SIGNAL(assetTypesChanged()), this, SLOT(updateAssetTypes())); + connect(_model, &WalletModel::assetTypesChanged, this, &SendCoinsEntry::updateAssetTypes); } clear();