Don't remove unconfigured custom executables on async parses

Only do that on loading the project.

Change-Id: Ibe5ef1188e30d0743a3d10caeb4a98ac5f5ee95d
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Daniel Teske
2012-01-26 15:15:03 +01:00
parent fc5ef5ef66
commit 000a2b8861
17 changed files with 28 additions and 23 deletions

View File

@@ -404,7 +404,7 @@ bool Qt4Project::fromMap(const QVariantMap &map)
updateCodeModels();
foreach (Target *t, targets())
static_cast<Qt4BaseTarget *>(t)->createApplicationProFiles();
static_cast<Qt4BaseTarget *>(t)->createApplicationProFiles(false);
foreach (Target *t, targets())
onAddedTarget(t);
@@ -818,7 +818,7 @@ void Qt4Project::decrementPendingEvaluateFutures()
m_asyncUpdateState = Base;
activeTarget()->activeQt4BuildConfiguration()->setEnabled(true);
foreach (Target *t, targets())
static_cast<Qt4BaseTarget *>(t)->createApplicationProFiles();
static_cast<Qt4BaseTarget *>(t)->createApplicationProFiles(true);
updateFileList();
updateCodeModels();
emit proParsingDone();