Add polishItems to the designer support
authorMarco Bubke <marco.bubke@digia.com>
Tue, 16 Oct 2012 14:33:44 +0000 (16:33 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 19 Oct 2012 08:39:21 +0000 (10:39 +0200)
Change-Id: Ibec0b1f6c438f0c7b40c81ec81cd092768701f34
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>

src/quick/designer/designersupport.cpp
src/quick/designer/designersupport.h

index 55a0b53..1b0fea9 100644 (file)
@@ -434,4 +434,9 @@ void DesignerSupport::createOpenGLContext(QQuickWindow *window)
     DesignerWindowManager::createOpenGLContext(window);
 }
 
+void DesignerSupport::polishItems(QQuickWindow *window)
+{
+    QQuickWindowPrivate::get(window)->polishItems();
+}
+
 QT_END_NAMESPACE
index e27cb3b..723e106 100644 (file)
@@ -148,6 +148,8 @@ public:
 
     static void createOpenGLContext(QQuickWindow *window);
 
+    static void polishItems(QQuickWindow *window);
+
 private:
     QHash<QQuickItem*, QQuickShaderEffectTexture*> m_itemTextureHash;
 };