forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user