diff options
author | Montel Laurent <[email protected]> | 2015-02-09 10:07:20 +0100 |
---|---|---|
committer | Laurent Montel <[email protected]> | 2015-02-09 16:15:04 +0000 |
commit | 250cc0640b99c311c54d6200bc4f91b9f773d4fe (patch) | |
tree | 9d3e35948a7ccd08a9df0ad950f7ee7f2d6d9cfa /src/plugins/git/branchadddialog.cpp | |
parent | 478914a9cecc70fb2c7fb6b4c5feb2010666d4f0 (diff) |
Port to new connect api
Change-Id: Ifa29f380789c28cefda5dfdf497df42163fb2f94
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/git/branchadddialog.cpp')
-rw-r--r-- | src/plugins/git/branchadddialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/branchadddialog.cpp b/src/plugins/git/branchadddialog.cpp index df80041f056..5a8d4dc47b0 100644 --- a/src/plugins/git/branchadddialog.cpp +++ b/src/plugins/git/branchadddialog.cpp @@ -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() |