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);
|
this, &CompilationDatabaseBuildSystem::updateDeploymentData);
|
||||||
}
|
}
|
||||||
|
|
||||||
CompilationDatabaseBuildSystem::~CompilationDatabaseBuildSystem()
|
CompilationDatabaseBuildSystem::~CompilationDatabaseBuildSystem() = default;
|
||||||
{
|
|
||||||
m_parserWatcher.cancel();
|
|
||||||
m_parserWatcher.waitForFinished();
|
|
||||||
}
|
|
||||||
|
|
||||||
void CompilationDatabaseBuildSystem::triggerParsing()
|
void CompilationDatabaseBuildSystem::triggerParsing()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user