summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-models/divetripmodel.cpp5
-rw-r--r--qt-models/divetripmodel.h1
2 files changed, 0 insertions, 6 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;
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h
index 9ccad16dc..fb826eec1 100644
--- a/qt-models/divetripmodel.h
+++ b/qt-models/divetripmodel.h
@@ -49,7 +49,6 @@ public:
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
DiveTripModel(QObject *parent = 0);
- Layout layout() const;
void setLayout(Layout layout);
QVariant data(const QModelIndex &index, int role) const;
int columnCount(const QModelIndex&) const;