aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmljseditor
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-01-31 12:14:52 +0100
committerEike Ziller <eike.ziller@qt.io>2019-02-04 09:20:47 +0000
commitd07e5b2a466484511aec42dc1b7e6a52afb99a55 (patch)
tree8cb71e552cdd3382dc871c0bac1f1a76d11c2f09 /src/plugins/qmljseditor
parent85696d7018d90b49e1d3229e6f32ace037b5b070 (diff)
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>
Diffstat (limited to 'src/plugins/qmljseditor')
-rw-r--r--src/plugins/qmljseditor/qmljshoverhandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qmljseditor/qmljshoverhandler.cpp b/src/plugins/qmljseditor/qmljshoverhandler.cpp
index d7d4892b9a8..53b3422c80e 100644
--- a/src/plugins/qmljseditor/qmljshoverhandler.cpp
+++ b/src/plugins/qmljseditor/qmljshoverhandler.cpp
@@ -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;
}