diff options
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 02e451692..8635df4dc 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -419,7 +419,7 @@ QString QMLManager::commitChanges(QString diveId, QString date, QString location h = r5.cap(1).toInt(); m = r5.cap(2).toInt(); } - d->duration.seconds = h * 3600 + m * 60 + s; + d->dc.duration.seconds = d->duration.seconds = h * 3600 + m * 60 + s; } if (get_depth_string(d->maxdepth.mm, true, true) != depth) { diveChanged = true; |