forked from qt-creator/qt-creator
Creating an item pixmap will render the entire scene and clear all dirty flags, so we don't ever want to render just one item without checking if other items need rendering, too. So pixmap creation is removed from completeComponent(). Since completeComponent() already inserts the completed instances to the dirty instance set, this should not cause any problems; it just defers the rendering to the next collectItemChangesAndSendChangeCommands() call. Fixes: QDS-5271 Change-Id: Ic15dbb29f13875b966f4e3c3556a4ecd7194cdd6 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>