forked from qt-creator/qt-creator
ProjectExplorer: Avoid copy for node path
It appears to take 7% of project loading... Change-Id: I2d20d919cc861a6ee95af359a584fb27a915cf80 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a316948868
commit
25096de511
@@ -155,7 +155,7 @@ FolderNode *Node::parentFolderNode() const
|
||||
/*!
|
||||
The path of the file or folder in the filesystem the node represents.
|
||||
*/
|
||||
Utils::FileName Node::path() const
|
||||
const Utils::FileName &Node::path() const
|
||||
{
|
||||
return m_path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user