mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
Add some output for bug 4693
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25710 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f3085670f7
commit
b17489d91e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user