mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Mobile: Don't access dive-id via DiveObjectHelper
There is already a role to do that. Query the model directly to avoid creating a full DiveHelperObject. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9ae7040a91
commit
f0fc1f3a56
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ Item {
|
|||
}
|
||||
Component.onCompleted: {
|
||||
qmlProfile.setMargin(Kirigami.Units.smallSpacing)
|
||||
qmlProfile.diveId = model.dive.id;
|
||||
qmlProfile.diveId = model.id;
|
||||
qmlProfile.update();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue