Revert "Fix crash when qobject_cast KoTextShapeData"
This reverts commit ce3c8595e72cfb3d851062bcdd8dd90f3caa09f2.