From b17489d91e98818c8cb38afdad0305187e766082 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 19 Jul 2008 11:47:20 +0000 Subject: [PATCH] Add some output for bug 4693 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25710 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/FileName.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 0a495dbfd4..5e0caafb6f 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -166,11 +166,12 @@ void FileName::erase() bool FileName::copyTo(FileName const & name) const { + LYXERR(Debug::FILES, "Copying " << name); QFile::remove(name.d->fi.absoluteFilePath()); bool success = QFile::copy(d->fi.absoluteFilePath(), name.d->fi.absoluteFilePath()); if (!success) - lyxerr << "FileName::copyTo(): Could not copy file " - << *this << " to " << name << endl; + LYXERR0("FileName::copyTo(): Could not copy file " + << *this << " to " << name); return success; }