git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25713 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-07-19 15:57:07 +00:00
parent 89af456100
commit 87ee3d8c43

View File

@ -415,6 +415,10 @@ FileName FileName::getcwd()
time_t FileName::lastModified() const time_t FileName::lastModified() const
{ {
// QFileInfo caches information about the file. So, in case this file has
// been touched between the object creation and now, we refresh the file
// information.
d->fi.refresh();
return d->fi.lastModified().toTime_t(); return d->fi.lastModified().toTime_t();
} }