From 730fd268141a7590f78a89c11dd422718d23e449 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 6 Mar 2020 18:06:31 +0100 Subject: mobile/divelist: connect click on trip to toggle MobileListModel Signed-off-by: Berthold Stoeger --- qt-models/mobilelistmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-models/mobilelistmodel.h') diff --git a/qt-models/mobilelistmodel.h b/qt-models/mobilelistmodel.h index 01bec8670..ab0026f32 100644 --- a/qt-models/mobilelistmodel.h +++ b/qt-models/mobilelistmodel.h @@ -49,7 +49,7 @@ public: void resetModel(); void expand(int row); void unexpand(); - void toggle(int row); + Q_INVOKABLE void toggle(int row); Q_PROPERTY(int shown READ shown NOTIFY shownChanged); signals: void shownChanged(); -- cgit v1.2.3-70-g09d2