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:
Jarek Kobus
2024-02-23 18:38:42 +01:00
parent 2bee865f80
commit ff6e231170
2 changed files with 1 additions and 8 deletions

View File

@@ -332,11 +332,7 @@ CompilationDatabaseBuildSystem::CompilationDatabaseBuildSystem(Target *target)
this, &CompilationDatabaseBuildSystem::updateDeploymentData); this, &CompilationDatabaseBuildSystem::updateDeploymentData);
} }
CompilationDatabaseBuildSystem::~CompilationDatabaseBuildSystem() CompilationDatabaseBuildSystem::~CompilationDatabaseBuildSystem() = default;
{
m_parserWatcher.cancel();
m_parserWatcher.waitForFinished();
}
void CompilationDatabaseBuildSystem::triggerParsing() void CompilationDatabaseBuildSystem::triggerParsing()
{ {

View File

@@ -13,8 +13,6 @@
#include <utils/filesystemwatcher.h> #include <utils/filesystemwatcher.h>
#include <QFutureWatcher>
namespace ProjectExplorer { namespace ProjectExplorer {
class Kit; class Kit;
class ProjectUpdater; class ProjectUpdater;
@@ -51,7 +49,6 @@ public:
void updateDeploymentData(); void updateDeploymentData();
void buildTreeAndProjectParts(); void buildTreeAndProjectParts();
QFutureWatcher<void> m_parserWatcher;
std::unique_ptr<ProjectExplorer::ProjectUpdater> m_cppCodeModelUpdater; std::unique_ptr<ProjectExplorer::ProjectUpdater> m_cppCodeModelUpdater;
MimeBinaryCache m_mimeBinaryCache; MimeBinaryCache m_mimeBinaryCache;
QByteArray m_projectFileHash; QByteArray m_projectFileHash;