forked from qt-creator/qt-creator
HelpItem: Remove senseless constructor
If we are already passing a URL, we do not need to pass a map of URLs in addition. We already know exactly which URL we want. Change-Id: I955e03a611667733e9734e7996725d51857c71b1 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -185,8 +185,7 @@ bool QmlJSHoverHandler::setQmlTypeHelp(const ScopeChain &scopeChain, const Docum
|
||||
// Use the URL, to disambiguate different versions
|
||||
const HelpItem helpItem(filteredUrlMap.first(),
|
||||
qName.join(QLatin1Char('.')),
|
||||
HelpItem::QmlComponent,
|
||||
filteredUrlMap);
|
||||
HelpItem::QmlComponent);
|
||||
setLastHelpItemIdentified(helpItem);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user