summaryrefslogtreecommitdiff
path: root/utils/themeeditor/codeeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/codeeditor.h')
-rw-r--r--utils/themeeditor/codeeditor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/codeeditor.h b/utils/themeeditor/codeeditor.h
index 5df5b423d5..1771e31051 100644
--- a/utils/themeeditor/codeeditor.h
+++ b/utils/themeeditor/codeeditor.h
@@ -62,6 +62,8 @@ public:
62 void addError(int line){ errors.append(line); } 62 void addError(int line){ errors.append(line); }
63 void clearErrors(){ errors.clear(); } 63 void clearErrors(){ errors.clear(); }
64 void setErrorColor(QColor color){ errorColor = color; } 64 void setErrorColor(QColor color){ errorColor = color; }
65 bool isError(int line){ return errors.contains(line); }
66 bool hasErrors(){ return !errors.isEmpty(); }
65 67
66protected: 68protected:
67 void resizeEvent(QResizeEvent *event); 69 void resizeEvent(QResizeEvent *event);