mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Fix path move to with Qt
Call the correct function :)
This commit is contained in:
parent
5a21f1bd81
commit
e2abdff83c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue