aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/glsleditor
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@theqtcompany.com>2015-08-31 16:28:26 +0200
committerMarco Bubke <marco.bubke@theqtcompany.com>2015-08-31 14:59:16 +0000
commitb278dc87ca8662ff98aeabc03ed4293021aab955 (patch)
tree4589ec81eb345979f52fd1fc7a293d4b0ea177d1 /src/plugins/glsleditor
parent8dfa9a5dab144797e446b09979be98642403259a (diff)
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.cpp4
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;