From b998cf80528a3ba9c8964199516a8471b40ae273 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 19 May 2011 10:05:45 +0200 Subject: [PATCH] Clang: Really use monospaced font for position indicators Change-Id: Ieabbe313ea5c508611355e23c41b174a2d253a4e --- src/plugins/projectexplorer/clangparser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/projectexplorer/clangparser.cpp b/src/plugins/projectexplorer/clangparser.cpp index d0386c388ff..18af1852bb2 100644 --- a/src/plugins/projectexplorer/clangparser.cpp +++ b/src/plugins/projectexplorer/clangparser.cpp @@ -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);