diff options
author | Marco Bubke <marco.bubke@theqtcompany.com> | 2015-08-31 16:28:26 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@theqtcompany.com> | 2015-08-31 14:59:16 +0000 |
commit | b278dc87ca8662ff98aeabc03ed4293021aab955 (patch) | |
tree | 4589ec81eb345979f52fd1fc7a293d4b0ea177d1 /src/plugins/glsleditor | |
parent | 8dfa9a5dab144797e446b09979be98642403259a (diff) | |
download | qt-creator-b278dc87ca8662ff98aeabc03ed4293021aab955.tar.gz |
Clang: Add diagnostics
Diagnostics are now moved to the clang backend process. Fixits are
supported too.
Change-Id: I20faacf466bbf78dec479220c3d7b336a47bc453
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/glsleditor')
-rw-r--r-- | src/plugins/glsleditor/glsleditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/glsleditor/glsleditor.cpp b/src/plugins/glsleditor/glsleditor.cpp index bef941344d..b7fac825e0 100644 --- a/src/plugins/glsleditor/glsleditor.cpp +++ b/src/plugins/glsleditor/glsleditor.cpp @@ -237,11 +237,11 @@ void GlslEditorWidget::updateDocumentNow() createRanges(ast); QTextCharFormat errorFormat; - errorFormat.setUnderlineStyle(QTextCharFormat::WaveUnderline); + errorFormat.setUnderlineStyle(QTextCharFormat::SingleUnderline); errorFormat.setUnderlineColor(Qt::red); QTextCharFormat warningFormat; - warningFormat.setUnderlineStyle(QTextCharFormat::WaveUnderline); + warningFormat.setUnderlineStyle(QTextCharFormat::SingleUnderline); warningFormat.setUnderlineColor(Qt::darkYellow); QList<QTextEdit::ExtraSelection> sels; |