forked from qt-creator/qt-creator
Git: s/GitPlugin::gitClient/GitPlugin::client/
... same name as with almost all other plugins. Change-Id: I964159044d86685735e8b1e816a0bf67e0576fd8 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
90ce38da39
commit
4f7844d6f5
@@ -107,7 +107,7 @@ QWidget *SettingsPage::widget()
|
||||
{
|
||||
if (!m_widget) {
|
||||
m_widget = new SettingsPageWidget;
|
||||
m_widget->setSettings(GitPlugin::instance()->gitClient()->settings());
|
||||
m_widget->setSettings(GitPlugin::instance()->client()->settings());
|
||||
}
|
||||
return m_widget;
|
||||
}
|
||||
@@ -124,7 +124,7 @@ void SettingsPage::apply()
|
||||
Core::AsynchronousMessageBox::warning(tr("Git Settings"), errorMessage);
|
||||
}
|
||||
|
||||
VcsBaseClientSettings &s = GitPlugin::instance()->gitClient()->settings();
|
||||
VcsBaseClientSettings &s = GitPlugin::instance()->client()->settings();
|
||||
if (s != newSettings) {
|
||||
s = newSettings;
|
||||
s.writeSettings(Core::ICore::settings());
|
||||
|
||||
Reference in New Issue
Block a user