Fix path move to with Qt

Call the correct function :)
This commit is contained in:
Simon Hausmann 2021-01-25 21:37:26 +01:00 committed by GitHub
parent 5a21f1bd81
commit e2abdff83c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,7 +154,7 @@ impl QPainterPath {
pub fn move_to(&mut self, to: qttypes::QPointF) {
cpp! { unsafe [self as "QPainterPath*", to as "QPointF"] {
self->lineTo(to);
self->moveTo(to);
}}
}
pub fn line_to(&mut self, to: qttypes::QPointF) {