forked from qt-creator/qt-creator
Port to new connect api
Change-Id: Ifa29f380789c28cefda5dfdf497df42163fb2f94 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Laurent Montel
parent
478914a9ce
commit
250cc0640b
@@ -114,7 +114,7 @@ BranchAddDialog::BranchAddDialog(const QStringList &localBranches, bool addBranc
|
||||
m_ui->setupUi(this);
|
||||
setWindowTitle(addBranch ? tr("Add Branch") : tr("Rename Branch"));
|
||||
m_ui->branchNameEdit->setValidator(new BranchNameValidator(localBranches, this));
|
||||
connect(m_ui->branchNameEdit, SIGNAL(textChanged(QString)), this, SLOT(updateButtonStatus()));
|
||||
connect(m_ui->branchNameEdit, &QLineEdit::textChanged, this, &BranchAddDialog::updateButtonStatus);
|
||||
}
|
||||
|
||||
BranchAddDialog::~BranchAddDialog()
|
||||
|
||||
Reference in New Issue
Block a user