summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/DiveObjectHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r--core/subsurface-qt/DiveObjectHelper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp
index fc406d600..1c7621e10 100644
--- a/core/subsurface-qt/DiveObjectHelper.cpp
+++ b/core/subsurface-qt/DiveObjectHelper.cpp
@@ -306,14 +306,14 @@ QString DiveObjectHelper::tripMeta() const
return ret;
}
-QString DiveObjectHelper::maxcns() const
+int DiveObjectHelper::maxcns() const
{
- return QString(m_dive->maxcns);
+ return m_dive->maxcns;
}
-QString DiveObjectHelper::otu() const
+int DiveObjectHelper::otu() const
{
- return QString(m_dive->otu);
+ return m_dive->otu;
}
int DiveObjectHelper::rating() const