Remove Qt4ProFileNode::updateUiFilesFromBuild

The function made sure that the code model knew about changes
to the ui_*.h files. This code was written before introducing
Qt4UiCodeModelSupport, which does ensure that the ui*.h files
on disk actually do not matter for the code model at all.
Removing this code improves switching Kits performance in some
cases.

Change-Id: I51f9fcc9cac23013eaf89a2a8517f2bd58953263
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Daniel Teske
2012-10-08 14:33:33 +02:00
parent e6623754e8
commit db022c9c8d
3 changed files with 22 additions and 124 deletions

View File

@@ -557,6 +557,7 @@ void Qt4Project::updateCppCodeModel()
part->sourceFiles = pro->variableValue(CppSourceVar);
part->sourceFiles += pro->variableValue(CppHeaderVar);
part->sourceFiles += pro->uiFiles();
part->sourceFiles.prepend(QLatin1String("<configuration>"));
pinfo.appendProjectPart(part);
@@ -789,6 +790,7 @@ void Qt4Project::decrementPendingEvaluateFutures()
// We are done!
if (debug)
qDebug()<<" reporting finished";
m_asyncUpdateFutureInterface->reportFinished();
delete m_asyncUpdateFutureInterface;
m_asyncUpdateFutureInterface = 0;