Skip to content
Snippets Groups Projects
Commit 2ef111fc authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix build on OS X


Change-Id: I753e8d57d4bcf205d83850b440f015743719d409
Reviewed-by: default avatarMehdi Fekari <mfekari@blackberry.com>
Reviewed-by: default avatarNicolas Arnaud-Cormos <nicolas@kdab.com>
parent ef983452
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ QByteArray FileConverter::loadFileContent(const QString &filePath, QString &erro ...@@ -67,7 +67,7 @@ QByteArray FileConverter::loadFileContent(const QString &filePath, QString &erro
QString absFilePath = filePath; QString absFilePath = filePath;
if (!filePath.startsWith(QLatin1String(":/"))) { if (!filePath.startsWith(QLatin1String(":/"))) {
const QString srcProjectPath = convertedProjectContext().srcProjectPath(); const QString srcProjectPath = convertedProjectContext().srcProjectPath();
absFilePath = srcProjectPath % QLatin1Char('/') % filePath; absFilePath = srcProjectPath + QLatin1Char('/') + filePath;
} }
fr.fetch(absFilePath); fr.fetch(absFilePath);
if (!fr.errorString().isEmpty()) if (!fr.errorString().isEmpty())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment