1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Made errors display in status bar when cursor is on error'd line

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26801 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-11 21:24:38 +00:00
parent 6c921f5e04
commit ce0d21437e
3 changed files with 30 additions and 1 deletions

View file

@ -62,6 +62,8 @@ public:
void addError(int line){ errors.append(line); }
void clearErrors(){ errors.clear(); }
void setErrorColor(QColor color){ errorColor = color; }
bool isError(int line){ return errors.contains(line); }
bool hasErrors(){ return !errors.isEmpty(); }
protected:
void resizeEvent(QResizeEvent *event);