mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Merge pull request #2166 from Diapolo/Qt_signverify
Bitcoin-Qt: use reference in setAddress_SM() and setAddress_VM()
This commit is contained in:
commit
6213b25cd4
@ -55,13 +55,13 @@ void SignVerifyMessageDialog::setModel(WalletModel *model)
|
||||
this->model = model;
|
||||
}
|
||||
|
||||
void SignVerifyMessageDialog::setAddress_SM(QString address)
|
||||
void SignVerifyMessageDialog::setAddress_SM(const QString &address)
|
||||
{
|
||||
ui->addressIn_SM->setText(address);
|
||||
ui->messageIn_SM->setFocus();
|
||||
}
|
||||
|
||||
void SignVerifyMessageDialog::setAddress_VM(QString address)
|
||||
void SignVerifyMessageDialog::setAddress_VM(const QString &address)
|
||||
{
|
||||
ui->addressIn_VM->setText(address);
|
||||
ui->messageIn_VM->setFocus();
|
||||
|
@ -20,8 +20,8 @@ public:
|
||||
~SignVerifyMessageDialog();
|
||||
|
||||
void setModel(WalletModel *model);
|
||||
void setAddress_SM(QString address);
|
||||
void setAddress_VM(QString address);
|
||||
void setAddress_SM(const QString &address);
|
||||
void setAddress_VM(const QString &address);
|
||||
|
||||
void showTab_SM(bool fShow);
|
||||
void showTab_VM(bool fShow);
|
||||
|
Loading…
Reference in New Issue
Block a user