mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
4ec78e7098
commit
2b8ff49ae9
@ -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()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user