diff --git a/src/plugins/qmakeprojectmanager/profilehighlighter.cpp b/src/plugins/qmakeprojectmanager/profilehighlighter.cpp index 85752474d33..4b4236fcb2f 100644 --- a/src/plugins/qmakeprojectmanager/profilehighlighter.cpp +++ b/src/plugins/qmakeprojectmanager/profilehighlighter.cpp @@ -52,7 +52,7 @@ static TextStyle styleForFormat(int format) return C_TEXT; } -ProFileHighlighter::ProFileHighlighter(const Keywords &keywords) +ProFileHighlighter::ProFileHighlighter() : m_keywords(qmakeKeywords()) { setTextFormatCategories(NumProfileFormats, styleForFormat); diff --git a/src/plugins/qmakeprojectmanager/profilehighlighter.h b/src/plugins/qmakeprojectmanager/profilehighlighter.h index c19979e8c3e..9d85861af85 100644 --- a/src/plugins/qmakeprojectmanager/profilehighlighter.h +++ b/src/plugins/qmakeprojectmanager/profilehighlighter.h @@ -42,7 +42,7 @@ public: NumProfileFormats }; - explicit ProFileHighlighter(); + ProFileHighlighter(); void highlightBlock(const QString &text); private: diff --git a/src/plugins/qmakeprojectmanager/profilehoverhandler.h b/src/plugins/qmakeprojectmanager/profilehoverhandler.h index 6ab843be6d5..381329a93c3 100644 --- a/src/plugins/qmakeprojectmanager/profilehoverhandler.h +++ b/src/plugins/qmakeprojectmanager/profilehoverhandler.h @@ -38,7 +38,7 @@ namespace Internal { class ProFileHoverHandler : public TextEditor::BaseHoverHandler { public: - explicit ProFileHoverHandler(); + ProFileHoverHandler(); private: void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos) override;