diff options
author | Antti Määttä <antti.maatta@qt.io> | 2019-08-16 12:42:40 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2019-08-16 23:47:49 +0300 |
commit | 1e6164bacd1cbfc4a6a8b81ba2b0de1fd4dd783c (patch) | |
tree | f27c4d696c2329c1711f7c5a269da59ac2bd5e87 | |
parent | 1e49aba7070e8eeff8b0cc35113ccab2f37941e0 (diff) |
Remove separator at the end of GetAbsolutePath
No usage expects the separator anymore.
Task-number: QT3DS-485
Change-Id: Ib9bbb0180403468a609c2ff4a24e20cecc36edaf
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r-- | src/Authoring/Common/Code/_Win32/Qt3DSFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Common/Code/_Win32/Qt3DSFile.cpp b/src/Authoring/Common/Code/_Win32/Qt3DSFile.cpp index 933ad9a5..dfbcec22 100644 --- a/src/Authoring/Common/Code/_Win32/Qt3DSFile.cpp +++ b/src/Authoring/Common/Code/_Win32/Qt3DSFile.cpp @@ -173,7 +173,7 @@ Q3DStudio::CString Qt3DSFile::GetAbsolutePath() const { const QFileInfo fi(m_Path.toQString()); if (fi.isDir()) - return Q3DStudio::CString::fromQString(fi.absoluteFilePath() + QLatin1Char('/')); + return Q3DStudio::CString::fromQString(fi.absoluteFilePath()); return m_Path; } |