summaryrefslogtreecommitdiffstats
path: root/qt-mobile/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r--qt-mobile/main.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml
index a98fb14d6..c6ee4bb09 100644
--- a/qt-mobile/main.qml
+++ b/qt-mobile/main.qml
@@ -2,6 +2,7 @@ import QtQuick 2.3
import QtQuick.Controls 1.2
import QtQuick.Window 2.2
import QtQuick.Dialogs 1.2
+import org.subsurfacedivelog.mobile 1.0
ApplicationWindow {
title: qsTr("Subsurface")
@@ -12,6 +13,14 @@ ApplicationWindow {
id: fileOpen
selectExisting: true
selectMultiple: true
+
+ onAccepted: {
+ manager.setFilename(fileUrl)
+ }
+ }
+
+ QMLManager {
+ id: manager
}
menuBar: MenuBar {