diff options
author | 2015-07-17 11:57:21 -0700 | |
---|---|---|
committer | 2015-07-17 12:00:38 -0700 | |
commit | d595f5c167c7283dc22f902ed0b18a7d6da2221e (patch) | |
tree | 10efaa6874740510a90fb9144facd7abe86ab577 /qt-gui.cpp | |
parent | 76e61bd8d9baea008628bf5b176cf8f0b664e78f (diff) | |
parent | 0c9756c5d786158f25aaf1ad2d9c316be9e2b9e5 (diff) | |
download | subsurface-d595f5c167c7283dc22f902ed0b18a7d6da2221e.tar.gz |
Merge branch 'devel' of https://github.com/gracie89/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r-- | qt-gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp index 175e9c27d..fac743a43 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -19,6 +19,7 @@ #include <QQmlContext> #include "qt-mobile/qmlmanager.h" #include "qt-models/divelistmodel.h" +#include "qt-mobile/qmlprofile.h" QObject *qqWindowObject = NULL; #endif @@ -40,6 +41,7 @@ void run_ui() #ifdef SUBSURFACE_MOBILE window->hide(); qmlRegisterType<QMLManager>("org.subsurfacedivelog.mobile", 1, 0, "QMLManager"); + qmlRegisterType<QMLProfile>("org.subsurfacedivelog.mobile", 1, 0, "QMLProfile"); QQmlApplicationEngine engine; DiveListModel diveListModel; QQmlContext *ctxt = engine.rootContext(); |