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