Clang: Really use monospaced font for position indicators

Change-Id: Ieabbe313ea5c508611355e23c41b174a2d253a4e
This commit is contained in:
Tobias Hunger
2011-05-19 10:05:45 +02:00
parent 15ef6ad093
commit b998cf8052

View File

@@ -127,6 +127,7 @@ void ClangParser::stdError(const QString &line)
QTextLayout::FormatRange fr;
fr.start = m_currentTask.description.count() + 1;
fr.length = m_codeSnippet.count() + lne.count() + 1;
fr.format.setFontFamily("Monospaced");
fr.format.setFontStyleHint(QFont::TypeWriter);
m_currentTask.description.append(QLatin1Char('\n'));
m_currentTask.description.append(m_codeSnippet);