From: Marco Bubke Date: Tue, 16 Oct 2012 14:33:44 +0000 (+0200) Subject: Add polishItems to the designer support X-Git-Tag: upstream/5.2.1~1103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13e1c40b7be52dbb3b82116c514a6e8b6b5499b6;p=platform%2Fupstream%2Fqtdeclarative.git Add polishItems to the designer support Change-Id: Ibec0b1f6c438f0c7b40c81ec81cd092768701f34 Reviewed-by: Thomas Hartmann --- diff --git a/src/quick/designer/designersupport.cpp b/src/quick/designer/designersupport.cpp index 55a0b53..1b0fea9 100644 --- a/src/quick/designer/designersupport.cpp +++ b/src/quick/designer/designersupport.cpp @@ -434,4 +434,9 @@ void DesignerSupport::createOpenGLContext(QQuickWindow *window) DesignerWindowManager::createOpenGLContext(window); } +void DesignerSupport::polishItems(QQuickWindow *window) +{ + QQuickWindowPrivate::get(window)->polishItems(); +} + QT_END_NAMESPACE diff --git a/src/quick/designer/designersupport.h b/src/quick/designer/designersupport.h index e27cb3b..723e106 100644 --- a/src/quick/designer/designersupport.h +++ b/src/quick/designer/designersupport.h @@ -148,6 +148,8 @@ public: static void createOpenGLContext(QQuickWindow *window); + static void polishItems(QQuickWindow *window); + private: QHash m_itemTextureHash; };