From 555b08c3252f3b39177203df872002eac4e61916 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 18 Jan 2016 14:29:37 -0800 Subject: [PATCH] Comment only. --- src/support/FileName.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2