From 430853836f9c17154ef3ee4cac6b03b90ee493a9 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Sat, 9 Aug 2014 09:27:42 +0200 Subject: Fix the nine patch node factory function (part 1) Change-Id: I5981190dd43082715a7159efd478469365caf3a6 Reviewed-by: Gunnar Sletta --- src/quick/scenegraph/qsgcontext_p.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/quick/scenegraph/qsgcontext_p.h') diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h index 97b2c2b358..da0de12a42 100644 --- a/src/quick/scenegraph/qsgcontext_p.h +++ b/src/quick/scenegraph/qsgcontext_p.h @@ -175,7 +175,8 @@ public: virtual QSGRectangleNode *createRectangleNode(); virtual QSGImageNode *createImageNode(); virtual QSGGlyphNode *createGlyphNode(QSGRenderContext *rc, bool preferNativeGlyphNode); - virtual QSGNinePatchNode *createQStyleNode(); + virtual QSGNinePatchNode *createNinePatchNode(); + QSGNinePatchNode *createQStyleNode() { return createNinePatchNode(); } virtual QAnimationDriver *createAnimationDriver(QObject *parent); virtual QSize minimumFBOSize() const; -- cgit v1.2.3