From 3c95dbb20859debe99edc874c57ddaa6f3acf3d2 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Fri, 11 Jun 2010 19:51:34 +0000 Subject: Theme Editor: Fixed bug in parser handling empty lines and made ParseTreeModel handle the new VIEWPORT element properly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26792 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/codeeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/themeeditor/codeeditor.cpp') diff --git a/utils/themeeditor/codeeditor.cpp b/utils/themeeditor/codeeditor.cpp index d4b46ac..49f4410 100644 --- a/utils/themeeditor/codeeditor.cpp +++ b/utils/themeeditor/codeeditor.cpp @@ -132,7 +132,7 @@ void CodeEditor::lineNumberAreaPaintEvent(QPaintEvent *event) if(errors.contains(blockNumber + 1)) { painter.fillRect(QRect(0, top, lineNumberArea->width(), - fontMetrics().height()), Qt::red); + fontMetrics().height()), errorColor); } painter.setPen(Qt::black); painter.drawText(0, top, lineNumberArea->width(), -- cgit v1.1