diff options
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 5 | ||||
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index cb6cf6dd1..de0c8bba9 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -87,11 +87,6 @@ int DiveObjectHelper::id() const return m_dive->id; } -struct dive *DiveObjectHelper::getDive() const -{ - return m_dive; -} - QString DiveObjectHelper::date() const { QDateTime localTime = QDateTime::fromMSecsSinceEpoch(1000*m_dive->when, Qt::UTC); diff --git a/core/subsurface-qt/DiveObjectHelper.h b/core/subsurface-qt/DiveObjectHelper.h index 674386e56..c7401d05a 100644 --- a/core/subsurface-qt/DiveObjectHelper.h +++ b/core/subsurface-qt/DiveObjectHelper.h @@ -54,7 +54,6 @@ public: bool operator!() const; // Returns true if this is an invalid default-generated object int number() const; int id() const; - struct dive *getDive() const; int rating() const; int visibility() const; QString date() const; |