mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge cb2c578451 into merged_master (Bitcoin PR bitcoin-core/gui#148)
This commit is contained in:
commit
8add337795
2 changed files with 4 additions and 1 deletions
|
|
@ -988,6 +988,9 @@ SendConfirmationDialog::SendConfirmationDialog(const QString& title, const QStri
|
|||
setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel);
|
||||
setDefaultButton(QMessageBox::Cancel);
|
||||
yesButton = button(QMessageBox::Yes);
|
||||
if (confirmButtonText.isEmpty()) {
|
||||
confirmButtonText = yesButton->text();
|
||||
}
|
||||
updateYesButton();
|
||||
connect(&countDownTimer, &QTimer::timeout, this, &SendConfirmationDialog::countDown);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ class SendConfirmationDialog : public QMessageBox
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SendConfirmationDialog(const QString& title, const QString& text, const QString& informative_text = "", const QString& detailed_text = "", int secDelay = SEND_CONFIRM_DELAY, const QString& confirmText = "Send", QWidget* parent = nullptr);
|
||||
SendConfirmationDialog(const QString& title, const QString& text, const QString& informative_text = "", const QString& detailed_text = "", int secDelay = SEND_CONFIRM_DELAY, const QString& confirmText = "", QWidget* parent = nullptr);
|
||||
int exec() override;
|
||||
|
||||
private Q_SLOTS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue