fix a bug of fill(const QPaintDevice*, const QPoint&) is deprecated, ignored on Qt 5.0.2