From c0fb98711b8d0380020477163cdf4e3e8fdb2c50 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 21 Oct 2015 22:51:15 +0900 Subject: Don't clear out the time stamp we remembered Otherwise the offset calculation ends up completely wrong. Signed-off-by: Dirk Hohndel --- qt-ui/simplewidgets.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index 57fc56b0f..4eeeb02ed 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -370,7 +370,6 @@ void ShiftImageTimesDialog::updateInvalid() // We've found invalid image timestamp = picture_get_timestamp(fileName.toUtf8().data()); - dcImageEpoch = timestamp; time.setTime_t(timestamp + m_amount - gettimezoneoffset(displayed_dive.when)); ui.invalidLabel->setText(ui.invalidLabel->text() + fileName + " " + time.toString() + "\n"); allValid = false; -- cgit v1.2.3-70-g09d2