aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgcontext_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-08-09 09:27:42 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-08-12 01:44:18 +0200
commit430853836f9c17154ef3ee4cac6b03b90ee493a9 (patch)
treed04bee7e6af231f7a909e591d3bea5a4e7290b07 /src/quick/scenegraph/qsgcontext_p.h
parentfccbe57258c10e18ccdbbec405f5522dbd97af66 (diff)
Fix the nine patch node factory function (part 1)
Change-Id: I5981190dd43082715a7159efd478469365caf3a6 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext_p.h')
-rw-r--r--src/quick/scenegraph/qsgcontext_p.h3
1 files changed, 2 insertions, 1 deletions
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;