Commit 21c04836 authored by cerf's avatar cerf Committed by Tobias Hunger

Bazaar: save settings on plugin destruction

Change-Id: I94d5c1f1944b51a284e41ad9be0168f3edc99292
Merge-request: 345
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/462Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
parent 0ff09430
......@@ -136,6 +136,7 @@ BazaarPlugin::BazaarPlugin() :
BazaarPlugin::~BazaarPlugin()
{
m_bazaarSettings.writeSettings(m_core->settings(), Constants::BAZAAR);
if (m_client) {
delete m_client;
m_client = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment