diff --git a/src/plugins/coreplugin/helpitem.cpp b/src/plugins/coreplugin/helpitem.cpp index 66e6d7a50bf..fd7bebb52f2 100644 --- a/src/plugins/coreplugin/helpitem.cpp +++ b/src/plugins/coreplugin/helpitem.cpp @@ -40,10 +40,6 @@ HelpItem::HelpItem(const QString &helpId) : m_helpId(helpId) {} -HelpItem::HelpItem(const QString &helpId, Category category) : - m_helpId(helpId), m_docMark(helpId), m_category(category) -{} - HelpItem::HelpItem(const QString &helpId, const QString &docMark, Category category) : m_helpId(helpId), m_docMark(docMark), m_category(category) {} @@ -53,9 +49,6 @@ HelpItem::HelpItem(const QString &helpId, const QString &docMark, Category categ m_helpId(helpId), m_docMark(docMark), m_category(category), m_helpLinks(helpLinks) {} -HelpItem::~HelpItem() -{} - void HelpItem::setHelpId(const QString &id) { m_helpId = id; } diff --git a/src/plugins/coreplugin/helpitem.h b/src/plugins/coreplugin/helpitem.h index bca8d1d2c7e..f06dcdc5c75 100644 --- a/src/plugins/coreplugin/helpitem.h +++ b/src/plugins/coreplugin/helpitem.h @@ -54,11 +54,9 @@ public: HelpItem(); HelpItem(const char *helpId); HelpItem(const QString &helpId); - HelpItem(const QString &helpId, Category category); HelpItem(const QString &helpId, const QString &docMark, Category category); HelpItem(const QString &helpId, const QString &docMark, Category category, const QMap &helpLinks); - ~HelpItem(); void setHelpId(const QString &id); const QString &helpId() const; diff --git a/src/plugins/qmakeprojectmanager/profilehoverhandler.cpp b/src/plugins/qmakeprojectmanager/profilehoverhandler.cpp index 25438ee048e..f353d2ded33 100644 --- a/src/plugins/qmakeprojectmanager/profilehoverhandler.cpp +++ b/src/plugins/qmakeprojectmanager/profilehoverhandler.cpp @@ -68,8 +68,7 @@ void ProFileHoverHandler::identifyMatch(TextEditor::TextEditorWidget *editorWidg Core::HelpItem::QMakeVariableOfFunction)); } else { // General qmake manual will be shown outside any function or variable - setLastHelpItemIdentified( - Core::HelpItem(QLatin1String("qmake"), Core::HelpItem::Unknown)); + setLastHelpItemIdentified("qmake"); } } }