]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileName.cpp
Improvements to the shortcuts preference dialog (#9174)
[lyx.git] / src / support / FileName.cpp
index 9506666d27fc0de2dfbfe26b440db50904d9354d..6d40687a2584f2bc912c73578b3c22e3957bf6b6 100644 (file)
@@ -319,6 +319,9 @@ bool FileName::isSymLink() const
 }
 
 
+//QFileInfo caching info might fool this test if file was changed meanwhile.
+//refresh() helps, but we don't want to put it blindly here, because it might
+//trigger slowdown on networked file systems.
 bool FileName::isFileEmpty() const
 {
        LASSERT(!empty(), return true);