forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -170,7 +170,7 @@ QTextCharFormat FontSettings::toTextCharFormat(TextStyle category) const
|
||||
}
|
||||
|
||||
if (category == C_OCCURRENCES_UNUSED) {
|
||||
tf.setUnderlineStyle(QTextCharFormat::WaveUnderline);
|
||||
tf.setUnderlineStyle(QTextCharFormat::SingleUnderline);
|
||||
tf.setUnderlineColor(f.foreground());
|
||||
tf.setToolTip(QCoreApplication::translate("FontSettings_C_OCCURRENCES_UNUSED",
|
||||
"Unused variable"));
|
||||
|
||||
Reference in New Issue
Block a user