forked from qt-creator/qt-creator
CMake: Do not clear the reader needlessly
If the reader is not of the expected type or incompatible with the new parameters, then it will get changed anyway. So do not force a reset of the reader. Change-Id: I5ab8770797d39488e6a530e93431e344b1c7f7e6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -257,8 +257,6 @@ void BuildDirManager::setParametersAndRequestParse(const BuildDirParameters &par
|
||||
}
|
||||
QTC_ASSERT(parameters.isValid(), return );
|
||||
|
||||
stopParsingAndClearState();
|
||||
|
||||
m_parameters = parameters;
|
||||
m_parameters.workDirectory = workDirectory(parameters);
|
||||
updateReparseParameters(reparseParameters);
|
||||
|
||||
Reference in New Issue
Block a user