summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Grace Karanja <gracie.karanja89@gmail.com>2015-08-12 15:03:20 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 15:24:14 -0700
commit1925b3d012b0409012c65be3e33a7f38d3ef291f (patch)
tree1f8adb2cf5847baee0b2ea922fab4ee1cc47aaff /qt-mobile
parenta3bdf49b84d8a30a22e05bc965e98f5e7914f637 (diff)
downloadsubsurface-1925b3d012b0409012c65be3e33a7f38d3ef291f.tar.gz
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>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/DiveDetails.qml4
-rw-r--r--qt-mobile/main.qml1
2 files changed, 0 insertions, 5 deletions
diff --git a/qt-mobile/DiveDetails.qml b/qt-mobile/DiveDetails.qml
index 83eccf372..3c5120a85 100644
--- a/qt-mobile/DiveDetails.qml
+++ b/qt-mobile/DiveDetails.qml
@@ -27,10 +27,6 @@ Item {
qmlProfile.update()
}
- function clearDetails() {
-
- }
-
Flickable {
id: flick
width: parent.width
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml
index 76d8836ed..33215f0df 100644
--- a/qt-mobile/main.qml
+++ b/qt-mobile/main.qml
@@ -42,7 +42,6 @@ ApplicationWindow {
text: "Add Dive"
onTriggered: {
manager.addDive();
- detailsWindow.clearDetails()
stackView.push(detailsWindow)
}
}