Log fallback result

This commit is contained in:
Hannah von Reth 2021-03-02 10:58:07 +01:00 committed by Matthieu Gallien
parent acd83a2998
commit 48f4c1e9e1

View file

@ -63,9 +63,9 @@ time_t FileSystem::getModTime(const QString &filename)
&& (stat.modtime != 0)) {
result = stat.modtime;
} else {
qCWarning(lcFileSystem) << "Could not get modification time for" << filename
<< "with csync, using QFileInfo";
result = Utility::qDateTimeToTime_t(QFileInfo(filename).lastModified());
qCWarning(lcFileSystem) << "Could not get modification time for" << filename
<< "with csync, using QFileInfo:" << result;
}
return result;
}