aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gitlab/gitlabprojectsettings.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2023-05-08 16:22:27 +0200
committerhjk <[email protected]>2023-05-09 08:34:14 +0000
commit3003b6cb2b7debb9e0dc0651af8d3aca6e5f595f (patch)
tree6ba2cfa15d030bf78637a864d0116d8da8a3cb60 /src/plugins/gitlab/gitlabprojectsettings.cpp
parent372ce469fad9d97c92fe36e281417f03a764eefe (diff)
GitLab: Shift responsibility to signal changes
... from the option pasge (factory) to the settings (storage). This will help with removing the QObject base from IOptionPage Change-Id: I04a6b499bdca6065bf8f742b4624beabe7d8f8cc Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/gitlab/gitlabprojectsettings.cpp')
-rw-r--r--src/plugins/gitlab/gitlabprojectsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gitlab/gitlabprojectsettings.cpp b/src/plugins/gitlab/gitlabprojectsettings.cpp
index 73532e492f8..240f5292e4f 100644
--- a/src/plugins/gitlab/gitlabprojectsettings.cpp
+++ b/src/plugins/gitlab/gitlabprojectsettings.cpp
@@ -157,7 +157,7 @@ GitLabProjectSettingsWidget::GitLabProjectSettingsWidget(ProjectExplorer::Projec
connect(m_hostCB, &QComboBox::currentIndexChanged, this, [this] {
m_infoLabel->setVisible(false);
});
- connect(GitLabPlugin::optionsPage(), &GitLabOptionsPage::settingsChanged,
+ connect(GitLabPlugin::globalParameters(), &GitLabParameters::changed,
this, &GitLabProjectSettingsWidget::updateUi);
updateUi();
}