Make it easy to access the sort model from the QML manager

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-14 05:48:51 -07:00
parent 2878236268
commit 5909e438c9
2 changed files with 5 additions and 1 deletions

View file

@ -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);