forked from qt-creator/qt-creator
texteditor: use an enum instead of QString as color ids
Change-Id: I658412c18d5ccfe978ec444451c6417ffb18d71c Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Internal {
|
||||
static QTextCharFormat commentFormat()
|
||||
{
|
||||
const TextEditor::FontSettings settings = TextEditor::TextEditorSettings::instance()->fontSettings();
|
||||
return settings.toTextCharFormat(QLatin1String(TextEditor::Constants::C_COMMENT));
|
||||
return settings.toTextCharFormat(TextEditor::C_COMMENT);
|
||||
}
|
||||
|
||||
// Highlighter for Mercurial submit messages. Make the first line bold, indicates
|
||||
|
||||
Reference in New Issue
Block a user