Merge remote-tracking branch 'origin/3.5'

Change-Id: I30148c16cbb66ef670caaf1c74dccff47069bf68
This commit is contained in:
Eike Ziller
2015-09-15 07:40:57 +02:00
21 changed files with 1492 additions and 3924 deletions

View File

@@ -97,6 +97,8 @@ void QmlProjectNode::refresh()
// plain old file format
absoluteFilePath = fileInfo.filePath();
relativeDirectory = m_project->projectDir().relativeFilePath(fileInfo.path());
if (relativeDirectory == QLatin1String("."))
relativeDirectory.clear();
} else {
absoluteFilePath = m_project->projectDir().absoluteFilePath(fileInfo.filePath());
relativeDirectory = fileInfo.path();