diff options
Diffstat (limited to 'qt-ui/profile')
-rw-r--r-- | qt-ui/profile/diveprofileitem.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp index c2c95bd89..25d6a8415 100644 --- a/qt-ui/profile/diveprofileitem.cpp +++ b/qt-ui/profile/diveprofileitem.cpp @@ -284,6 +284,10 @@ void DiveGasPressureItem::modelDataChanged() } setPolygon(boundingPoly); + //TODO: Instead of deleting all texts, move the existing ones to it's new location. + qDeleteAll(texts); + texts.clear(); + int mbar, cyl; int seen_cyl[MAX_CYLINDERS] = { false, }; int last_pressure[MAX_CYLINDERS] = { 0, }; |