From f5030c23f0a7e807228ba5935939cb8e6e5b0983 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 24 Jul 2008 21:22:08 +0000 Subject: [PATCH] Fix bug due to wrong interpretation of Qt's doc, take 2. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25874 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/FileName.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 799673a8eb..3c61eeaab9 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -147,7 +147,7 @@ FileName::FileName(FileName const & rhs, string const & suffix) : d(new Private) if (!rhs.d->fi.isDir()) d->fi.setFile(rhs.d->fi.filePath() + toqstr(suffix)); else - d->fi.setFile(rhs.d->fi.absoluteDir(), toqstr(suffix)); + d->fi.setFile(QDir(rhs.d->fi.absoluteFilePath()), toqstr(suffix)); } -- 2.39.2