From: Abdelrazak Younes Date: Thu, 24 Jul 2008 21:13:33 +0000 (+0000) Subject: Fix bug due to wrong interpretation of Qt's doc. X-Git-Tag: 1.6.10~3890 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2b8ff49ae9a759c0cdf13454b97d8e3fe66b3219;p=lyx.git Fix bug due to wrong interpretation of Qt's doc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25872 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 8e01df4410..799673a8eb 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -379,7 +379,8 @@ static string createTempFile(QString const & mask) FileName FileName::tempName(FileName const & temp_dir, string const & mask) { - QFileInfo tmp_fi(temp_dir.d->fi.absoluteDir(), toqstr(mask)); + QFileInfo tmp_fi(QDir(temp_dir.d->fi.absoluteFilePath()), toqstr(mask)); + LYXERR(Debug::FILES, "Temporary file in " << tmp_fi.absoluteFilePath()); return FileName(createTempFile(tmp_fi.absoluteFilePath())); }