From: Pavel Sanda Date: Mon, 18 Jan 2016 22:29:37 +0000 (-0800) Subject: Comment only. X-Git-Tag: 2.2.0beta1~148 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=555b08c3252f3b39177203df872002eac4e61916;p=features.git Comment only. --- diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 9506666d27..6d40687a25 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -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);