Fix compilation: take 2

Change-Id: I1f1f2c8dee1afc768633af074af650bdfd200a2a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Oliver Wolff
2017-07-27 12:08:27 +02:00
parent d492f5aa44
commit f4db435976
3 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -42,7 +42,7 @@ public:
NumProfileFormats
};
explicit ProFileHighlighter();
ProFileHighlighter();
void highlightBlock(const QString &text);
private:

View File

@@ -38,7 +38,7 @@ namespace Internal {
class ProFileHoverHandler : public TextEditor::BaseHoverHandler
{
public:
explicit ProFileHoverHandler();
ProFileHoverHandler();
private:
void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos) override;