aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveDetails.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r--qt-mobile/qml/DiveDetails.qml16
1 files changed, 1 insertions, 15 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index f60d39acb..d46777e41 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -1,5 +1,5 @@
import QtQuick 2.3
-import QtQuick.Controls 1.2
+import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.2
import QtQuick.Dialogs 1.2
import QtQuick.Layouts 1.1
@@ -75,20 +75,6 @@ MobileComponents.Page {
width: flick.width
height: childrenRect.height + MobileComponents.Units.smallSpacing * 2
- Button {
- checkable: true
- text: "Edit"
- z: 999
- anchors {
- top: parent.top
- right: parent.right
- margins: MobileComponents.Units.gridUnit / 2
- }
- onCheckedChanged: {
- diveDetailsWindow.state = checked ? "edit" : "view"
- }
- }
-
DiveDetailsEdit {
id: detailsEdit
anchors {