From e0053372b6641914c8340a67bb2d8a90173bf721 Mon Sep 17 00:00:00 2001
From: Simon Hausmann <simon.hausmann@digia.com>
Date: Sat, 9 Aug 2014 09:28:49 +0200
Subject: [PATCH] Fix the nine patch node factory function call

Change-Id: I85620159f29ccc3eb375d845da7e4bef996c8ff7
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
---
 src/controls/Private/qquickstyleitem.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/controls/Private/qquickstyleitem.cpp b/src/controls/Private/qquickstyleitem.cpp
index 3a6752fd8..64240feb7 100644
--- a/src/controls/Private/qquickstyleitem.cpp
+++ b/src/controls/Private/qquickstyleitem.cpp
@@ -1791,7 +1791,7 @@ QSGNode *QQuickStyleItem::updatePaintNode(QSGNode *node, UpdatePaintNodeData *)
 
     QSGNinePatchNode *styleNode = static_cast<QSGNinePatchNode *>(node);
     if (!styleNode) {
-        styleNode = QQuickItemPrivate::get(this)->sceneGraphContext()->createQStyleNode();
+        styleNode = QQuickItemPrivate::get(this)->sceneGraphContext()->createNinePatchNode();
         if (!styleNode)
             styleNode = new QQuickStyleNode;
     }
-- 
GitLab