summaryrefslogtreecommitdiffstats
path: root/stats/chartitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats/chartitem.h')
-rw-r--r--stats/chartitem.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/stats/chartitem.h b/stats/chartitem.h
index 5dab8d1ea..f13cb3bc4 100644
--- a/stats/chartitem.h
+++ b/stats/chartitem.h
@@ -19,9 +19,10 @@ class ChartItem {
public:
ChartItem(StatsView &v, ChartZValue z);
virtual ~ChartItem();
- virtual void render() = 0; // Only call on render thread!
+ virtual void render() = 0; // Only call on render thread!
QRectF getRect() const;
- bool dirty; // If true, call render() when rebuilding the scene
+ bool dirty; // If true, call render() when rebuilding the scene
+ ChartItem *dirtyPrev, *dirtyNext; // Double linked list of dirty items
const ChartZValue zValue;
protected:
QSizeF sceneSize() const;