<table><tr><td style="">sitter created this revision.<br />sitter added a reviewer: ngraham.<br />Herald added projects: Dolphin, Frameworks.<br />Herald added subscribers: kfm-devel, kde-frameworks-devel.<br />sitter requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27352">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>this was broken since forever I guess. when the .part resume tech was<br />
added it didn't correctly retain the access time. it was trying to<br />
get the atime of 'file', but 'file' when resuming refers to the .part which<br />
was deleted prior to the mtime adjustment so the QFileInfo(file).lastRead<br />
would produce an Invalid QDateTime which then results in us setting random<br />
nonesense as access time on the file.<br />
instead simply use dstFile. it is the path of the actual final destination<br />
file of which the atime is <strong>actually</strong> the one we want to preserve here<br />
considering we've literally just accessed that file by copying it ^^</p>
<p>BUG: 410624<br />
FIXED-IN: 19.12.3</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>copy file form smb to local has sound atime</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R320 KIO Extras</div></div></div><br /><div><strong>BRANCH</strong><div><div>bug410624</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27352">https://phabricator.kde.org/D27352</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>smb/kio_smb_dir.cpp</div></div></div><br /><div><strong>To: </strong>sitter, ngraham<br /><strong>Cc: </strong>kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, cblack, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov<br /></div>