diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-06 18:06:31 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-09 12:41:11 -0700 |
commit | 730fd268141a7590f78a89c11dd422718d23e449 (patch) | |
tree | 85ddac832eb3b4047366a92df2f8abac98ff5b64 /qt-models/mobilelistmodel.h | |
parent | edeaf7fa572a20a493fee2026384e418f68721e2 (diff) | |
download | subsurface-730fd268141a7590f78a89c11dd422718d23e449.tar.gz |
mobile/divelist: connect click on trip to toggle MobileListModel
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/mobilelistmodel.h')
-rw-r--r-- | qt-models/mobilelistmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |