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:
cerf
2011-06-10 14:02:46 +00:00
committed by Tobias Hunger
parent 2f97c709de
commit eed4d1e149
10 changed files with 40 additions and 30 deletions

View File

@@ -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();