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
This commit is contained in:
Abdelrazak Younes 2008-07-24 21:13:33 +00:00
parent 4ec78e7098
commit 2b8ff49ae9

View File

@ -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()));
}