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/cpptools/baseeditordocumentprocessor.cpp | |
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/cpptools/baseeditordocumentprocessor.cpp')
-rw-r--r-- | src/plugins/cpptools/baseeditordocumentprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/baseeditordocumentprocessor.cpp b/src/plugins/cpptools/baseeditordocumentprocessor.cpp index d627ab3cb7..182261686f 100644 --- a/src/plugins/cpptools/baseeditordocumentprocessor.cpp +++ b/src/plugins/cpptools/baseeditordocumentprocessor.cpp @@ -78,12 +78,12 @@ QList<QTextEdit::ExtraSelection> BaseEditorDocumentProcessor::toTextEditorSelect { // Format for errors QTextCharFormat errorFormat; - errorFormat.setUnderlineStyle(QTextCharFormat::WaveUnderline); + errorFormat.setUnderlineStyle(QTextCharFormat::SingleUnderline); errorFormat.setUnderlineColor(Qt::red); // Format for warnings QTextCharFormat warningFormat; - warningFormat.setUnderlineStyle(QTextCharFormat::WaveUnderline); + warningFormat.setUnderlineStyle(QTextCharFormat::SingleUnderline); warningFormat.setUnderlineColor(Qt::darkYellow); QList<QTextEdit::ExtraSelection> result; |