forked from qt-creator/qt-creator
CompilationDatabaseBuildSystem: Remove unused QFutureWatcher
Change-Id: I6dd6769cb5aa71149735a7920701c8f6ad98ee03 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -332,11 +332,7 @@ CompilationDatabaseBuildSystem::CompilationDatabaseBuildSystem(Target *target)
|
||||
this, &CompilationDatabaseBuildSystem::updateDeploymentData);
|
||||
}
|
||||
|
||||
CompilationDatabaseBuildSystem::~CompilationDatabaseBuildSystem()
|
||||
{
|
||||
m_parserWatcher.cancel();
|
||||
m_parserWatcher.waitForFinished();
|
||||
}
|
||||
CompilationDatabaseBuildSystem::~CompilationDatabaseBuildSystem() = default;
|
||||
|
||||
void CompilationDatabaseBuildSystem::triggerParsing()
|
||||
{
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
|
||||
#include <utils/filesystemwatcher.h>
|
||||
|
||||
#include <QFutureWatcher>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
class Kit;
|
||||
class ProjectUpdater;
|
||||
@@ -51,7 +49,6 @@ public:
|
||||
void updateDeploymentData();
|
||||
void buildTreeAndProjectParts();
|
||||
|
||||
QFutureWatcher<void> m_parserWatcher;
|
||||
std::unique_ptr<ProjectExplorer::ProjectUpdater> m_cppCodeModelUpdater;
|
||||
MimeBinaryCache m_mimeBinaryCache;
|
||||
QByteArray m_projectFileHash;
|
||||
|
||||
Reference in New Issue
Block a user