From 1f669f9714ec87657eb276dc538822d8abbe77a5 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 6 Dec 2019 14:14:00 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets/qmlmanager.h') 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); -- cgit v1.2.3-70-g09d2