From e2abdff83c7554490c2e6611b04bb90ea4612cbb Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 25 Jan 2021 21:37:26 +0100 Subject: [PATCH] Fix path move to with Qt Call the correct function :) --- sixtyfps_runtime/rendering_backends/qt/qt_window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sixtyfps_runtime/rendering_backends/qt/qt_window.rs b/sixtyfps_runtime/rendering_backends/qt/qt_window.rs index a8fe2e80d..2b0f7272a 100644 --- a/sixtyfps_runtime/rendering_backends/qt/qt_window.rs +++ b/sixtyfps_runtime/rendering_backends/qt/qt_window.rs @@ -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) {