Add missing "emit"s

Change-Id: I88a7397c7689b1e72cdd0e52077f8097443963c0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2021-11-01 16:09:36 +01:00
parent 24ebe5a0ec
commit d7ed48ac6f
17 changed files with 32 additions and 30 deletions

View File

@@ -744,7 +744,7 @@ HelpViewer *HelpWidget::insertViewer(int index, const QUrl &url)
connect(viewer, &HelpViewer::titleChanged, &m_model, [this, viewer] {
const int i = indexOf(viewer);
QTC_ASSERT(i >= 0, return );
m_model.dataChanged(m_model.index(i, 0), m_model.index(i, 0));
emit m_model.dataChanged(m_model.index(i, 0), m_model.index(i, 0));
});
connect(viewer, &HelpViewer::loadFinished, this, &HelpWidget::highlightSearchTerms);