We must not call updateFilterPage() when the "Options" dialog
is not currently open.
Without this patch, Creator will crash on a documentation update
if that dialog has been opened at least once and is currently closed.
Reviewed-by: kh1
Reviewed-by: con
}
}
+void FilterSettingsPage::finish()
+{
+ disconnect(Core::HelpManager::instance(), SIGNAL(documentationChanged()),
+ this, SLOT(updateFilterPage()));
+}
+
bool FilterSettingsPage::matches(const QString &s) const
{
return m_searchKeywords.contains(s, Qt::CaseInsensitive);
QWidget *createPage(QWidget *parent);
void apply();
- void finish() {}
+ void finish();
virtual bool matches(const QString &s) const;
signals: