diff options
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r-- | qt-mobile/main.qml | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml index d3447a0c7..bf36e8866 100644 --- a/qt-mobile/main.qml +++ b/qt-mobile/main.qml @@ -9,16 +9,6 @@ ApplicationWindow { title: qsTr("Subsurface") width: 500; - FileDialog { - id: fileOpen - selectExisting: true - selectMultiple: true - - onAccepted: { - manager.setFilename(fileUrl) - } - } - QMLManager { id: manager } @@ -48,10 +38,10 @@ ApplicationWindow { } Button { - id: openFile - text: "Open File" + id: loadDivesButton + text: "Load Dives" onClicked: { - fileOpen.open(); + manager.loadDives(); } } } |