diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-21 22:51:15 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-22 07:04:32 +0900 |
commit | c0fb98711b8d0380020477163cdf4e3e8fdb2c50 (patch) | |
tree | b97fec2599d607494e7aa44d4ec4f898a58aeba5 /qt-ui | |
parent | e121223fecb5f81a2bef48422a617bd6f7d55e34 (diff) | |
download | subsurface-c0fb98711b8d0380020477163cdf4e3e8fdb2c50.tar.gz |
Don't clear out the time stamp we remembered
Otherwise the offset calculation ends up completely wrong.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/simplewidgets.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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; |