summaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-27 16:09:55 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-28 15:10:57 +0000
commit7f2026ded8645910ad1ad9c61cb1eea20ea276b6 (patch)
treede73e4759d9f8dd97e55654ca25f120bcdfb9b6b /qt-models/divetripmodel.cpp
parent651f63282fd82e4f04b3edd6bfe987a88b746525 (diff)
downloadsubsurface-7f2026ded8645910ad1ad9c61cb1eea20ea276b6.tar.gz
Cleanup: remove DiveTripModel::layout() function
This accessor was never used. This is a small step in splitting the DiveTripModel in two (list & tree), which means that the layout is moved up to the view. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divetripmodel.cpp')
-rw-r--r--qt-models/divetripmodel.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp
index 5f64b8741..14bc744f6 100644
--- a/qt-models/divetripmodel.cpp
+++ b/qt-models/divetripmodel.cpp
@@ -633,11 +633,6 @@ void DiveTripModel::setupModelData()
endResetModel();
}
-DiveTripModel::Layout DiveTripModel::layout() const
-{
- return currentLayout;
-}
-
void DiveTripModel::setLayout(DiveTripModel::Layout layout)
{
currentLayout = layout;