mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
actCancel remove (#3261)
This commit is contained in:
parent
3a05d063af
commit
494dfc2f4b
14 changed files with 9 additions and 51 deletions
|
|
@ -31,7 +31,7 @@ DlgForgotPasswordReset::DlgForgotPasswordReset(QWidget *parent) : QDialog(parent
|
|||
QMessageBox::warning(this, tr("Forgot Password Reset Warning"),
|
||||
tr("Opps, looks like something has gone wrong. Please re-start the forgot password "
|
||||
"process by using the forgot password button on the connection screen."));
|
||||
actCancel();
|
||||
reject();
|
||||
}
|
||||
|
||||
hostLabel = new QLabel(tr("&Host:"));
|
||||
|
|
@ -86,7 +86,7 @@ DlgForgotPasswordReset::DlgForgotPasswordReset(QWidget *parent) : QDialog(parent
|
|||
|
||||
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
|
||||
connect(buttonBox, SIGNAL(accepted()), this, SLOT(actOk()));
|
||||
connect(buttonBox, SIGNAL(rejected()), this, SLOT(actCancel()));
|
||||
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
|
||||
|
||||
QVBoxLayout *mainLayout = new QVBoxLayout;
|
||||
mainLayout->addLayout(grid);
|
||||
|
|
@ -126,8 +126,3 @@ void DlgForgotPasswordReset::actOk()
|
|||
|
||||
accept();
|
||||
}
|
||||
|
||||
void DlgForgotPasswordReset::actCancel()
|
||||
{
|
||||
reject();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue