void QmlWindowRenderer::update( ContentWindowPtr contentWindow ) { // Could be optimized by checking for changes before updating the context windowContext_->setContextProperty( "contentwindow", contentWindow.get( )); contentWindow_ = contentWindow; }