Removed the use of QVariant.toPointF (PyQt4 api v2).