mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
e121223fec
commit
c0fb98711b
1 changed files with 0 additions and 1 deletions
|
@ -370,7 +370,6 @@ void ShiftImageTimesDialog::updateInvalid()
|
||||||
|
|
||||||
// We've found invalid image
|
// We've found invalid image
|
||||||
timestamp = picture_get_timestamp(fileName.toUtf8().data());
|
timestamp = picture_get_timestamp(fileName.toUtf8().data());
|
||||||
dcImageEpoch = timestamp;
|
|
||||||
time.setTime_t(timestamp + m_amount - gettimezoneoffset(displayed_dive.when));
|
time.setTime_t(timestamp + m_amount - gettimezoneoffset(displayed_dive.when));
|
||||||
ui.invalidLabel->setText(ui.invalidLabel->text() + fileName + " " + time.toString() + "\n");
|
ui.invalidLabel->setText(ui.invalidLabel->text() + fileName + " " + time.toString() + "\n");
|
||||||
allValid = false;
|
allValid = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue