- renderer_(other.renderer_->clone())
-{
- if (renderer_->asMonitoredPreview() != 0) {
- RenderMonitoredPreview * const ptr = renderer_->asMonitoredPreview();
- ptr->connect(boost::bind(&InsetExternal::statusChanged, this));
- ptr->fileChanged(boost::bind(&InsetExternal::fileChanged, this));
-
- } else if (renderer_->asGraphic() != 0 ) {
- RenderGraphic * const ptr = renderer_->asGraphic();
- ptr->connect(boost::bind(&InsetExternal::statusChanged, this));
- }
-}