diff options
Diffstat (limited to 'src/plugins/bazaar/bazaarplugin.cpp')
-rw-r--r-- | src/plugins/bazaar/bazaarplugin.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/bazaar/bazaarplugin.cpp b/src/plugins/bazaar/bazaarplugin.cpp index a8b81eea9f..65280ec98c 100644 --- a/src/plugins/bazaar/bazaarplugin.cpp +++ b/src/plugins/bazaar/bazaarplugin.cpp @@ -168,14 +168,10 @@ bool BazaarPlugin::initialize(const QStringList &arguments, QString *errorMessag m_client = new BazaarClient; auto vcsCtrl = new BazaarControl(m_client); initializeVcs(vcsCtrl, context); - - auto options = new OptionsPage; - connect(options, &OptionsPage::settingsChanged, - vcsCtrl, &Core::IVersionControl::configurationChanged); - addAutoReleasedObject(options); - connect(m_client, &VcsBaseClient::changed, vcsCtrl, &BazaarControl::changed); + addAutoReleasedObject(new OptionsPage(vcsCtrl)); + static const char *describeSlot = SLOT(view(QString,QString)); const int editorCount = sizeof(editorParameters) / sizeof(VcsBaseEditorParameters); const auto widgetCreator = []() { return new BazaarEditorWidget; }; |