Fix warning regarding QTimeLine::setDuration