diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-06-02 15:12:05 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-06-07 08:33:33 +0000 |
commit | 5af4c9b237a23ce12ca7c56eb6c9ecda17743228 (patch) | |
tree | fe8f85d5c353216cddc18df3c996be0c50cf0c67 /src/imports/shapes/qquickshape_p_p.h | |
parent | 961da5273e17655e73ec0975c6de446b88d7f5ca (diff) |
Reduce objects: Make ShapePath inherit Path
Shape { ShapePath { Path { ... } } } simply becomes
Shape { ShapePath { ... } }
Change-Id: Ie57936cd7953c8a8d6c67e78b9d73bdbe2a05316
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/shapes/qquickshape_p_p.h')
-rw-r--r-- | src/imports/shapes/qquickshape_p_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
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; }; |