From 5909e438c9394f7e831d7d9f912788ade87b6b1f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 14 Apr 2016 05:48:51 -0700 Subject: Make it easy to access the sort model from the QML manager Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mobile-widgets') 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 #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); -- cgit v1.2.3-70-g09d2