aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scenegraph/softwarecontext/rectanglenode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scenegraph/softwarecontext/rectanglenode.h')
-rw-r--r--src/plugins/scenegraph/softwarecontext/rectanglenode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/rectanglenode.h b/src/plugins/scenegraph/softwarecontext/rectanglenode.h
index d3bcb2b8dc..5dfbf3b3bf 100644
--- a/src/plugins/scenegraph/softwarecontext/rectanglenode.h
+++ b/src/plugins/scenegraph/softwarecontext/rectanglenode.h
@@ -46,6 +46,7 @@ public:
private:
void paintRectangle(QPainter *painter, const QRect &rect);
+ void generateCornerPixmap();
QRect m_rect;
QColor m_color;
@@ -58,6 +59,8 @@ private:
bool m_cornerPixmapIsDirty;
QPixmap m_cornerPixmap;
+
+ int m_devicePixelRatio;
};
#endif // RECTANGLENODE_H