forked from qt-creator/qt-creator
Integrate new filter engine
Adapt the code to deprecated usage of map as a multi map, hence all cases replaced by QMultiMap. Change-Id: I2d480467cd6e91d3e880555e6a21058dec056b3f Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
This commit is contained in:
@@ -211,7 +211,7 @@ const HelpItem::Links &HelpItem::links() const
|
||||
m_helpLinks.emplace(Links{{m_keyword, m_helpUrl}});
|
||||
} else {
|
||||
m_helpLinks.emplace(); // set a value even if there are no help IDs
|
||||
QMap<QString, QUrl> helpLinks;
|
||||
QMultiMap<QString, QUrl> helpLinks;
|
||||
for (const QString &id : m_helpIds) {
|
||||
helpLinks = Core::HelpManager::linksForIdentifier(id);
|
||||
if (!helpLinks.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user