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:
parent
ec6119eb57
commit
31aec1ca47
1 changed files with 1 additions and 1 deletions
|
@ -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>();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue