summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-14 05:48:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-14 09:43:33 -0700
commit5909e438c9394f7e831d7d9f912788ade87b6b1f (patch)
tree9475e6057d26155b813798bd49f3f4b1e7913923 /mobile-widgets/qmlmanager.h
parent287823626823ad139986685f1a310fe2539aeac0 (diff)
downloadsubsurface-5909e438c9394f7e831d7d9f912788ade87b6b1f.tar.gz
Make it easy to access the sort model from the QML manager
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index 1c86e96b9..d905fe236 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -8,6 +8,7 @@
#include <QElapsedTimer>
#include "core/gpslocation.h"
+#include "qt-models/divelistmodel.h"
class QMLManager : public QObject {
Q_OBJECT
@@ -81,6 +82,7 @@ public:
void setSyncToCloud(bool status);
typedef void (QMLManager::*execute_function_type)();
+ DiveListSortModel *dlSortModel;
public slots:
void applicationStateChanged(Qt::ApplicationState state);