summaryrefslogtreecommitdiffstats
path: root/qt-models/divesummarymodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-08 12:22:52 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-08 10:29:36 -0800
commita93c303b8b8a426e5236825c7be9c5a42c597afd (patch)
tree1dbf9d0152c14434ec468704d63b2928a021f173 /qt-models/divesummarymodel.h
parent1809dbd00a4d17bf65c60014801b893e8ebe3e3b (diff)
downloadsubsurface-a93c303b8b8a426e5236825c7be9c5a42c597afd.tar.gz
mobile/summary: add section headers
Add section headers to the dive summaries on mobile by adding a section-property. Of course, this will not work on desktop. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divesummarymodel.h')
-rw-r--r--qt-models/divesummarymodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/divesummarymodel.h b/qt-models/divesummarymodel.h
index 13d37ba17..1e28f26b0 100644
--- a/qt-models/divesummarymodel.h
+++ b/qt-models/divesummarymodel.h
@@ -32,6 +32,7 @@ public:
HEADER_ROLE = Qt::UserRole + 1,
COLUMN0_ROLE,
COLUMN1_ROLE,
+ SECTION_ROLE,
};
struct Result {