summaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r--qt-models/divetripmodel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h
index 63dc806e7..31cee9633 100644
--- a/qt-models/divetripmodel.h
+++ b/qt-models/divetripmodel.h
@@ -5,6 +5,8 @@
#include "dive.h"
struct DiveItem : public TreeItem {
+ Q_DECLARE_TR_FUNCTIONS(TripItem)
+public:
enum Column {
NR,
DATE,
@@ -38,6 +40,8 @@ struct DiveItem : public TreeItem {
};
struct TripItem : public TreeItem {
+ Q_DECLARE_TR_FUNCTIONS(TripItem)
+public:
virtual QVariant data(int column, int role) const;
dive_trip_t *trip;
};