forked from qt-creator/qt-creator
CMake: Do not try to update project data when an error occurred
Do not try to update project data when an error occurred in server-mode. Change-Id: I6a1cf4b6e79fd6ddf5329195861f34cd7f1ca44d Reviewed-by: Florian Apolloner <florian@apolloner.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
committed by
Florian Apolloner
parent
c2483427f1
commit
598100c765
@@ -149,10 +149,7 @@ void CMakeBuildConfiguration::ctor()
|
||||
emit dataAvailable();
|
||||
});
|
||||
connect(m_buildDirManager.get(), &BuildDirManager::errorOccured,
|
||||
this, [this, project](const QString &msg) {
|
||||
project->updateProjectData(this);
|
||||
setError(msg);
|
||||
});
|
||||
this, &CMakeBuildConfiguration::setError);
|
||||
connect(m_buildDirManager.get(), &BuildDirManager::configurationStarted,
|
||||
this, [this, project]() {
|
||||
project->handleParsingStarted();
|
||||
|
||||
Reference in New Issue
Block a user