diff options
author | Kai Koehne <[email protected]> | 2014-09-02 14:40:41 +0200 |
---|---|---|
committer | Kai Koehne <[email protected]> | 2014-09-03 09:41:27 +0200 |
commit | 8f2532d333438acf00a0280db369487e9ebc2c20 (patch) | |
tree | 60ee5c4ed2c8aa572a182794cc61a3e6b4272f75 /src/libs/qmljs/qmljslink.cpp | |
parent | 215dec23a4d1ca47d59eae220e43eea50491d54f (diff) |
QmlJS: Don't use QDir::separator() for internal paths
We use forward slashes in all internal paths, even on Windows.
Change-Id: Ie0b418c770dad96829dd357fe425616b6d3a5b82
Reviewed-by: Fawzi Mohamed <[email protected]>
Diffstat (limited to 'src/libs/qmljs/qmljslink.cpp')
-rw-r--r-- | src/libs/qmljs/qmljslink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljslink.cpp b/src/libs/qmljs/qmljslink.cpp index e0006e4b837..50746e0a766 100644 --- a/src/libs/qmljs/qmljslink.cpp +++ b/src/libs/qmljs/qmljslink.cpp @@ -551,7 +551,7 @@ void LinkPrivate::loadQmldirComponents(ObjectValue *import, ComponentVersion ver importedTypes.insert(component.typeName); if (Document::Ptr importedDoc = snapshot.document( - libraryPath + QDir::separator() + component.fileName)) { + libraryPath + QLatin1Char('/') + component.fileName)) { if (ObjectValue *v = importedDoc->bind()->rootObjectValue()) import->setMember(component.typeName, v); } |