forked from qt-creator/qt-creator
Vcs: Pass settings handles to settings pages more directly
Change-Id: I5fdec80de5678dd544713fc18335cbd805d7b9f4 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -319,13 +319,13 @@ GitPluginPrivate::GitPluginPrivate()
|
||||
|
||||
Context context(Constants::GIT_CONTEXT);
|
||||
|
||||
m_gitClient = new GitClient;
|
||||
m_gitClient = new GitClient(&m_settings);
|
||||
|
||||
auto vc = new GitVersionControl(m_gitClient);
|
||||
initializeVcs(vc, context);
|
||||
|
||||
// Create the settings Page
|
||||
auto settingsPage = new SettingsPage(vc, this);
|
||||
auto settingsPage = new SettingsPage(vc, &m_settings, this);
|
||||
connect(settingsPage, &SettingsPage::settingsChanged,
|
||||
this, &GitPluginPrivate::updateRepositoryBrowserAction);
|
||||
|
||||
|
Reference in New Issue
Block a user