diff options
author | Jarek Kobus <[email protected]> | 2022-07-19 22:57:37 +0200 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2022-07-19 21:45:59 +0000 |
commit | 60a5f77ef220c1f1f6f5e1387f289b77ab908122 (patch) | |
tree | 11e3eae336738233558c716c1805acf9b38f51e1 /src/plugins/gitlab/gitlabprojectsettings.cpp | |
parent | ae9a3303442d53edcde65293a273f4ab3a7cfcbe (diff) |
Drop Qt5: VCS: Get rid of QComboBox QOverload
Change-Id: Ib2f21f28a0ec16b817f9227c6234424001752d50
Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/plugins/gitlab/gitlabprojectsettings.cpp')
-rw-r--r-- | src/plugins/gitlab/gitlabprojectsettings.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/gitlab/gitlabprojectsettings.cpp b/src/plugins/gitlab/gitlabprojectsettings.cpp index 35419ca6679..29b23381d73 100644 --- a/src/plugins/gitlab/gitlabprojectsettings.cpp +++ b/src/plugins/gitlab/gitlabprojectsettings.cpp @@ -163,20 +163,18 @@ GitLabProjectSettingsWidget::GitLabProjectSettingsWidget(ProjectExplorer::Projec verticalLayout->addWidget(new QLabel(tr("Projects linked with GitLab receive event " "notifications in the Version Control output pane."))); - connect(m_linkWithGitLab, &QPushButton::clicked, this, [this]() { + connect(m_linkWithGitLab, &QPushButton::clicked, this, [this] { checkConnection(Link); }); connect(m_unlink, &QPushButton::clicked, this, &GitLabProjectSettingsWidget::unlink); - connect(m_checkConnection, &QPushButton::clicked, this, [this]() { + connect(m_checkConnection, &QPushButton::clicked, this, [this] { checkConnection(Connection); }); - connect(m_linkedGitLabServer, QOverload<int>::of(&QComboBox::currentIndexChanged), - this, [this]() { + connect(m_linkedGitLabServer, &QComboBox::currentIndexChanged, this, [this] { m_infoLabel->setVisible(false); }); - connect(m_hostCB, QOverload<int>::of(&QComboBox::currentIndexChanged), - this, [this]() { + connect(m_hostCB, &QComboBox::currentIndexChanged, this, [this] { m_infoLabel->setVisible(false); }); connect(GitLabPlugin::optionsPage(), &GitLabOptionsPage::settingsChanged, |