forked from qt-creator/qt-creator
Clang: Leave space between category and option in diagnostic display
For some diagnostics ("#include_next is a language extension"), the text
has a smaller width than the category and option together. In this case,
there is no space between category and option, which looks terse.
Change-Id: I27e4736a0d2aa527d5733c6115bc8d40fe7794e0
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -173,7 +173,7 @@ private:
|
|||||||
const QString text = QString::fromLatin1(
|
const QString text = QString::fromLatin1(
|
||||||
" <tr>"
|
" <tr>"
|
||||||
" <td align='left'><b>%1</b></td>"
|
" <td align='left'><b>%1</b></td>"
|
||||||
" <td align='right'><font color='gray'>%2</font></td>"
|
" <td align='right'> <font color='gray'>%2</font></td>"
|
||||||
" </tr>")
|
" </tr>")
|
||||||
.arg(diagnostic.category(), diagnostic.enableOption());
|
.arg(diagnostic.category(), diagnostic.enableOption());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user