diff options
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index c85a3475e..0742e382f 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -169,7 +169,7 @@ QString DiveObjectHelper::waterTemp() const QString DiveObjectHelper::notes() const { QString tmp = m_dive->notes ? QString::fromUtf8(m_dive->notes) : QString(); - if (same_string(m_dive->dc.model, "planned dive")) { + if (is_dc_planner(&m_dive->dc)) { QTextDocument notes; #define _NOTES_BR "\n" tmp.replace("<thead>", "<thead>" _NOTES_BR) |