diff options
Diffstat (limited to 'qt-models/divetripmodel.cpp')
-rw-r--r-- | qt-models/divetripmodel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp index 4934b8b20..3b08e6838 100644 --- a/qt-models/divetripmodel.cpp +++ b/qt-models/divetripmodel.cpp @@ -350,7 +350,9 @@ int DiveItem::weight() const return tw.grams; } -DiveTripModel::DiveTripModel(QObject *parent) : TreeModel(parent) +DiveTripModel::DiveTripModel(QObject *parent) : + TreeModel(parent), + currentLayout(TREE) { columns = COLUMNS; } |