mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Potentially fix http://bugzilla.lyx.org/show_bug.cgi?id=5057
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25713 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
89af456100
commit
87ee3d8c43
@ -415,6 +415,10 @@ FileName FileName::getcwd()
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user