forked from qt-creator/qt-creator
vcsbase: make settings mutable inside VCSBaseClient
VCSBaseClient takes now a pointer to VCSBaseClientSettings, so settings can be changed within the VCS client. For example diff settings can now be loaded and saved from within the VCS client. This impacts the Bazaar and Mercurial plugins Change-Id: I84882b1f3355e0ca2597704f48f589dca42fd661 Merge-request: 344 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-on: http://codereview.qt.nokia.com/452 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
This commit is contained in:
@@ -153,7 +153,7 @@ bool BazaarPlugin::initialize(const QStringList &arguments, QString *errorMessag
|
||||
|
||||
typedef VCSBase::VCSEditorFactory<BazaarEditor> BazaarEditorFactory;
|
||||
|
||||
m_client = new BazaarClient(m_bazaarSettings);
|
||||
m_client = new BazaarClient(&m_bazaarSettings);
|
||||
initializeVcs(new BazaarControl(m_client));
|
||||
|
||||
m_core = Core::ICore::instance();
|
||||
|
Reference in New Issue
Block a user