projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reset last write times on examine.
[dcpomatic.git]
/
src
/
lib
/
content.cc
diff --git
a/src/lib/content.cc
b/src/lib/content.cc
index 69dcbc1395e2a125032e686d68f80ae1a7e5a740..c2cb7e005969327fc94e54cc40be3ef912e6153e 100644
(file)
--- a/
src/lib/content.cc
+++ b/
src/lib/content.cc
@@
-194,6
+194,11
@@
Content::examine (shared_ptr<Job> job)
boost::mutex::scoped_lock lm (_mutex);
_digest = d;
+
+ _last_write_times.clear ();
+ BOOST_FOREACH (boost::filesystem::path i, _paths) {
+ _last_write_times.push_back (boost::filesystem::last_write_time(i));
+ }
}
void