Don't begin global paths with '/' on windows.

Doing it creates huge delays, because it resolves to a network path.
Also rename FolderNode::setFolderName to FolderNode::setDisplayName,
because that's the name of the property.

Task-number: QTCREATORBUG-695
This commit is contained in:
con
2010-02-24 15:03:54 +01:00
parent 9087e2ff86
commit 8c6fc0c454
7 changed files with 22 additions and 18 deletions

View File

@@ -359,7 +359,7 @@ void Internal::SessionNodeImpl::removeProjectNode(ProjectNode *projectNode)
void Internal::SessionNodeImpl::setFileName(const QString &fileName)
{
setPath(fileName);
setFolderName(fileName);
setDisplayName(fileName);
}
/* --------------------------------- */