diff options
Diffstat (limited to 'tools/shared/qmljsimporter.cpp')
-rw-r--r-- | tools/shared/qmljsimporter.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/shared/qmljsimporter.cpp b/tools/shared/qmljsimporter.cpp index 28b7e7950f..b061b96a53 100644 --- a/tools/shared/qmljsimporter.cpp +++ b/tools/shared/qmljsimporter.cpp @@ -287,9 +287,6 @@ QmlJSImporter::ImportedTypes QmlJSImporter::importFileOrDirectory( QString name = fileOrDirectory; - if (QFileInfo(name).isRelative()) - name = QDir(m_currentDir).filePath(name); - QFileInfo fileInfo(name); if (fileInfo.isFile()) { ScopeTree::Ptr scope(localFile2ScopeTree(fileInfo.canonicalFilePath())); |