diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-12-06 14:14:00 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-10 09:25:57 -0700 |
commit | 1f669f9714ec87657eb276dc538822d8abbe77a5 (patch) | |
tree | 64502e1420d1f405c2ec40ae3cbb81fafe350088 /mobile-widgets/qmlmanager.h | |
parent | 0fc82e33987ec982d6a49440dcc28e17782d6ed7 (diff) | |
download | subsurface-1f669f9714ec87657eb276dc538822d8abbe77a5.tar.gz |
mobile/divelist: when clicking on a row, use select_single_dive()
This is a small step in unifying mobile and desktop.
I'm unsure whether it is correct to play this via the QMLManager or whether we
should call form QML directly into the model?
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 367faf325..482ba7ecc 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -106,6 +106,7 @@ public: Q_INVOKABLE int getConnectionIndex(const QString &deviceSubstr); Q_INVOKABLE void setGitLocalOnly(const bool &value); Q_INVOKABLE void setFilter(const QString filterText, int mode); + Q_INVOKABLE void selectRow(int row); static QMLManager *instance(); Q_INVOKABLE void registerError(QString error); |