CMake: Move code from CMakeProject into CMakeBuildConfiguration

Move code closer to the BuildDirManager that was moved into the
CMakeBuildConfiguration.

Change-Id: I21d7188e4a3b03a02b12b01c7dd3e46754d653f8
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2019-08-05 16:35:07 +02:00
parent 338a7184a5
commit ac091622e4
5 changed files with 101 additions and 89 deletions

View File

@@ -196,10 +196,12 @@ bool BuildDirManager::isParsing() const
void BuildDirManager::stopParsingAndClearState()
{
resetData();
if (m_reader)
if (m_reader) {
disconnect(m_reader.get(), nullptr, this, nullptr);
m_reader->stop();
}
m_reader.reset();
resetData();
}
void BuildDirManager::setParametersAndRequestParse(const BuildDirParameters &parameters,