// if input and output files are equal, we use a
// temporary file as intermediary (JMarc)
FileName real_outfile;
- if (outfile.absFilename() == infile.absFilename()) {
+ if (outfile == infile) {
real_outfile = infile;
// when importing, a buffer does not necessarily exist
if (buffer)
// FIXME: We need to solve this warning from Qt documentation:
// * Long and short file names that refer to the same file on Windows are
// treated as if they referred to different files.
+ lhs.d->refresh();
+ rhs.d->refresh();
+
if (!lhs.d->fi.isSymLink() && !rhs.d->fi.isSymLink())
return lhs.d->fi == rhs.d->fi;