From 5af4c9b237a23ce12ca7c56eb6c9ecda17743228 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Fri, 2 Jun 2017 15:12:05 +0200 Subject: Reduce objects: Make ShapePath inherit Path Shape { ShapePath { Path { ... } } } simply becomes Shape { ShapePath { ... } } Change-Id: Ie57936cd7953c8a8d6c67e78b9d73bdbe2a05316 Reviewed-by: Mitch Curtis --- src/imports/shapes/qquickshape_p_p.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/imports/shapes/qquickshape_p_p.h') diff --git a/src/imports/shapes/qquickshape_p_p.h b/src/imports/shapes/qquickshape_p_p.h index 7a503e36a9..a8a5675ccb 100644 --- a/src/imports/shapes/qquickshape_p_p.h +++ b/src/imports/shapes/qquickshape_p_p.h @@ -131,7 +131,7 @@ public: Q_DECLARE_OPERATORS_FOR_FLAGS(QQuickAbstractPathRenderer::Flags) -class QQuickShapePathPrivate : public QObjectPrivate +class QQuickShapePathPrivate : public QQuickPathPrivate { Q_DECLARE_PUBLIC(QQuickShapePath) @@ -156,7 +156,6 @@ public: static QQuickShapePathPrivate *get(QQuickShapePath *p) { return p->d_func(); } - QQuickPath *path; int dirty; QQuickShapeStrokeFillParams sfp; }; -- cgit v1.2.3