Merge "Legacy insertImage() should use IS_PENDING." into qt-dev