- pimpl_->timestamp_ = fs::last_write_time(pimpl_->filename_.toFilesystemEncoding());
- pimpl_->checksum_ = sum(pimpl_->filename_);
+ pimpl_->timestamp_ = pimpl_->filename_.lastModified();
+ pimpl_->checksum_ = pimpl_->filename_.checksum();
// If we aren't actively monitoring the file, then recompute the
// checksum explicitly.
if (!pimpl_->timer_.running() && !pimpl_->filename_.empty())
// If we aren't actively monitoring the file, then recompute the
// checksum explicitly.
if (!pimpl_->timer_.running() && !pimpl_->filename_.empty())