mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
clang-format
This commit is contained in:
@ -32,7 +32,7 @@ AddLabelDialog::AddLabelDialog(QWidget *parent)
|
||||
|
||||
setMinimumHeight(340);
|
||||
|
||||
//buttons
|
||||
// buttons
|
||||
acceptButton = new QPushButton(tr("accept"), this);
|
||||
cancelButton = new QPushButton(tr("cancel"), this);
|
||||
|
||||
@ -46,7 +46,7 @@ AddLabelDialog::AddLabelDialog(QWidget *parent)
|
||||
|
||||
setLayout(layout);
|
||||
|
||||
//connections
|
||||
// connections
|
||||
connect(edit, &QLineEdit::textChanged, this, &AddLabelDialog::validateName);
|
||||
connect(cancelButton, &QAbstractButton::clicked, this, &QWidget::close);
|
||||
connect(acceptButton, &QAbstractButton::clicked, this, &QDialog::accept);
|
||||
|
Reference in New Issue
Block a user