commit 07079e7da37044cc97da9c4d129a3e48a7b49d95
Author: Richard Heck <[email protected]>
Date: Mon Oct 27 18:28:33 2014 -0400
Improve debugging output.
diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp
index 05492f6..05ada4c 100644
--- a/src/support/FileName.cpp
+++ b/src/support/FileName.cpp
@@ -249,7 +249,7 @@ bool FileName::copyTo(FileName const & name, bool
keepsymlink,
bool FileName::renameTo(FileName const & name) const
{
- LYXERR(Debug::FILES, "Renaming " << name);
+ LYXERR(Debug::FILES, "Renaming " << name << " as " << *this);
bool success = QFile::rename(d->fi.absoluteFilePath(),
name.d->fi.absoluteFilePath());
if (!success)
LYXERR0("Could not rename file " << *this << " to " << name);
@@ -259,7 +259,7 @@ bool FileName::renameTo(FileName const & name) const
bool FileName::moveTo(FileName const & name) const
{
- LYXERR(Debug::FILES, "Moving " << name);
+ LYXERR(Debug::FILES, "Moving " << name << " to " << *this);
QFile::remove(name.d->fi.absoluteFilePath());
bool success = QFile::rename(d->fi.absoluteFilePath(),