forked from qt-creator/qt-creator
cache parsed pri & prf files
no point in re-parsing them over and over during the scan of a bigger project ... shaves off another 20% of the loading time of Qt 4.6.
This commit is contained in:
@@ -115,6 +115,7 @@ Qt4PriFileNode::Qt4PriFileNode(Qt4Project *project, Qt4ProFileNode* qt4ProFileNo
|
||||
|
||||
void Qt4PriFileNode::scheduleUpdate()
|
||||
{
|
||||
ProFileCacheManager::instance()->discardFile(m_projectFilePath);
|
||||
m_qt4ProFileNode->scheduleUpdate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user