diff options
author | cerf <delorme.hugues@gmail.com> | 2011-06-23 10:32:37 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-06-23 10:59:38 +0200 |
commit | b46072c724f17986adc899672ae8e6c8cea3f071 (patch) | |
tree | 7bcab817a6ace2d63052cf3140b47496506c1653 /src/plugins/bazaar/bazaarplugin.cpp | |
parent | f0c32d79ba24586820f3c00216b5010d352013da (diff) | |
download | qt-creator-b46072c724f17986adc899672ae8e6c8cea3f071.tar.gz |
vcsbase: auto save settings when requested by Core::ICore
Bazaar and Mercurial plugins are impacted
Change-Id: Ia781dae79983350d773f454de32f812e876bfbfb
Merge-request: 350
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/645
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src/plugins/bazaar/bazaarplugin.cpp')
-rw-r--r-- | src/plugins/bazaar/bazaarplugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/bazaar/bazaarplugin.cpp b/src/plugins/bazaar/bazaarplugin.cpp index e543aee152..9f67b4d093 100644 --- a/src/plugins/bazaar/bazaarplugin.cpp +++ b/src/plugins/bazaar/bazaarplugin.cpp @@ -136,7 +136,6 @@ BazaarPlugin::BazaarPlugin() : BazaarPlugin::~BazaarPlugin() { - m_bazaarSettings.writeSettings(m_core->settings(), Constants::BAZAAR); if (m_client) { delete m_client; m_client = 0; @@ -162,7 +161,7 @@ bool BazaarPlugin::initialize(const QStringList &arguments, QString *errorMessag m_optionsPage = new OptionsPage(); addAutoReleasedObject(m_optionsPage); - m_bazaarSettings.readSettings(m_core->settings(), Constants::BAZAAR); + m_bazaarSettings.readSettings(m_core->settings()); connect(m_optionsPage, SIGNAL(settingsChanged()), m_client, SLOT(settingsChanged())); connect(m_client, SIGNAL(changed(QVariant)), versionControl(), SLOT(changed(QVariant))); |