From 1925b3d012b0409012c65be3e33a7f38d3ef291f Mon Sep 17 00:00:00 2001 From: Grace Karanja Date: Wed, 12 Aug 2015 15:03:20 +0300 Subject: [PATCH] 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 --- qt-mobile/DiveDetails.qml | 4 ---- qt-mobile/main.qml | 1 - 2 files changed, 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) } }