mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: Remove clearDetails() function in DiveList.qml
This function is not needed, as we will move all of the logic to C++. Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
This commit is contained in:
parent
a3bdf49b84
commit
1925b3d012
2 changed files with 0 additions and 5 deletions
|
@ -27,10 +27,6 @@ Item {
|
||||||
qmlProfile.update()
|
qmlProfile.update()
|
||||||
}
|
}
|
||||||
|
|
||||||
function clearDetails() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
Flickable {
|
Flickable {
|
||||||
id: flick
|
id: flick
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
|
@ -42,7 +42,6 @@ ApplicationWindow {
|
||||||
text: "Add Dive"
|
text: "Add Dive"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
manager.addDive();
|
manager.addDive();
|
||||||
detailsWindow.clearDetails()
|
|
||||||
stackView.push(detailsWindow)
|
stackView.push(detailsWindow)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue