@@ -45,7 +45,7 @@ SendCoinsEntry::SendCoinsEntry(const PlatformStyle *_platformStyle, QWidget *par
4545 // Connect signals
4646 connect (ui->payAmount , &BitcoinAmountField::valueChanged, this , &SendCoinsEntry::payAmountChanged);
4747 connect (ui->checkboxSubtractFeeFromAmount , &QCheckBox::toggled, this , &SendCoinsEntry::subtractFeeFromAmountChanged);
48- connect (ui->payAmount , SIGNAL ( valueChanged ()) , this , SLOT ( payAmountChangedInternal ()) );
48+ connect (ui->payAmount , &BitcoinAmountField:: valueChanged, this , &SendCoinsEntry:: payAmountChangedInternal);
4949 connect (ui->deleteButton , &QPushButton::clicked, this , &SendCoinsEntry::deleteClicked);
5050 connect (ui->deleteButton_is , &QPushButton::clicked, this , &SendCoinsEntry::deleteClicked);
5151 connect (ui->deleteButton_s , &QPushButton::clicked, this , &SendCoinsEntry::deleteClicked);
@@ -87,7 +87,7 @@ void SendCoinsEntry::setModel(WalletModel *_model)
8787
8888 if (_model && _model->getOptionsModel ()) {
8989 connect (_model->getOptionsModel (), &OptionsModel::displayUnitChanged, this , &SendCoinsEntry::updateDisplayUnit);
90- connect (_model, SIGNAL ( assetTypesChanged ()) , this , SLOT ( updateAssetTypes ()) );
90+ connect (_model, &WalletModel:: assetTypesChanged, this , &SendCoinsEntry:: updateAssetTypes);
9191 }
9292
9393 clear ();
0 commit comments