fixing slide model to look for correct type

In Rust you can't use type as a property name in a struct. This means
we have to use ty.
This commit is contained in:
Chris Cochrun 2023-09-08 14:54:51 -05:00
parent ec6119eb57
commit 31aec1ca47

View file

@ -401,7 +401,7 @@ mod slide_model {
) { ) {
println!("add rust slide {:?}", index); println!("add rust slide {:?}", index);
let ty = service_item let ty = service_item
.get(&QString::from("type")) .get(&QString::from("ty"))
.unwrap_or(QVariant::from(&QString::from(""))) .unwrap_or(QVariant::from(&QString::from("")))
.value::<QString>(); .value::<QString>();