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:
@@ -51,16 +51,6 @@ HelpItem::HelpItem(const QUrl &url, const QString &docMark, HelpItem::Category c
|
||||
, m_category(category)
|
||||
{}
|
||||
|
||||
HelpItem::HelpItem(const QUrl &url,
|
||||
const QString &docMark,
|
||||
HelpItem::Category category,
|
||||
const QMap<QString, QUrl> &helpLinks)
|
||||
: m_helpUrl(url)
|
||||
, m_docMark(docMark)
|
||||
, m_category(category)
|
||||
, m_helpLinks(helpLinks)
|
||||
{}
|
||||
|
||||
HelpItem::HelpItem(const QString &helpId, const QString &docMark, Category category)
|
||||
: HelpItem(QStringList(helpId), docMark, category)
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user