summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Grace Karanja <gracie.karanja89@gmail.com>2015-06-04 13:36:36 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-20 14:24:25 -0700
commit315a245868683819031bdefc2e5c8f117b62028d (patch)
tree0a76fe2f942e2b17c65d7a5dd363fbe145a79505 /qt-mobile/qmlmanager.cpp
parente0a25289db50390e92723d6e2298d10f2270ca8a (diff)
downloadsubsurface-315a245868683819031bdefc2e5c8f117b62028d.tar.gz
Link QMLManager to the main.qml file
Add a link between the C++ and QML parts of the app using the qmlRegisterType function. [Dirk Hohndel: changed the name to org.subsurfacedivelog.mobile] Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r--qt-mobile/qmlmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 2de94e82d..6a770b256 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -1,5 +1,5 @@
#include "qmlmanager.h"
-
+#include <QUrl>
QMLManager::QMLManager()
{