diff options
author | Bernhard Beschow <shentey@gmail.com> | 2018-12-11 14:44:16 +0100 |
---|---|---|
committer | Bernhard Beschow <shentey@gmail.com> | 2019-01-06 21:48:42 +0000 |
commit | 552e7304269e1e10298bc98362cb2de22028e4fe (patch) | |
tree | 4ed98e6621df102989bc5a30fb8e138ff6330948 /src/plugins | |
parent | 87630cce25a23ba1305ba9af2c49ed2060b5fc55 (diff) | |
download | qt-creator-552e7304269e1e10298bc98362cb2de22028e4fe.tar.gz |
QbsProject: Remove unread attribute
Also remove the signal CppProjectUpdater::projectInfoUpdated() which is
now unused.
Change-Id: I65afe8f96cd8175edaf8ccb6e5067e4f9cd8d99f
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/cpptools/cppprojectupdater.cpp | 4 | ||||
-rw-r--r-- | src/plugins/cpptools/cppprojectupdater.h | 3 | ||||
-rw-r--r-- | src/plugins/qbsprojectmanager/qbsproject.cpp | 5 | ||||
-rw-r--r-- | src/plugins/qbsprojectmanager/qbsproject.h | 3 |
4 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/cpptools/cppprojectupdater.cpp b/src/plugins/cpptools/cppprojectupdater.cpp index a8857841fa..0db4480a65 100644 --- a/src/plugins/cpptools/cppprojectupdater.cpp +++ b/src/plugins/cpptools/cppprojectupdater.cpp @@ -100,10 +100,6 @@ void CppProjectUpdater::onProjectInfoGenerated() QFuture<void> future = CppModelManager::instance() ->updateProjectInfo(m_futureInterface, m_generateFutureWatcher.result()); QTC_CHECK(future != QFuture<void>()); - - const ProjectInfo projectInfo = CppModelManager::instance()->projectInfo(m_project); - QTC_CHECK(projectInfo.isValid()); - emit projectInfoUpdated(projectInfo); } } // namespace CppTools diff --git a/src/plugins/cpptools/cppprojectupdater.h b/src/plugins/cpptools/cppprojectupdater.h index e2a1f1b616..94dc068b77 100644 --- a/src/plugins/cpptools/cppprojectupdater.h +++ b/src/plugins/cpptools/cppprojectupdater.h @@ -49,9 +49,6 @@ public: void update(const ProjectUpdateInfo &projectUpdateInfo); void cancel(); -signals: - void projectInfoUpdated(const ProjectInfo &projectInfo); - private: void cancelAndWaitForFinished(); diff --git a/src/plugins/qbsprojectmanager/qbsproject.cpp b/src/plugins/qbsprojectmanager/qbsproject.cpp index 6b280eb5b9..4e3fda68b3 100644 --- a/src/plugins/qbsprojectmanager/qbsproject.cpp +++ b/src/plugins/qbsprojectmanager/qbsproject.cpp @@ -154,11 +154,6 @@ QbsProject::QbsProject(const FileName &fileName) : subscribeSignal(&Target::activeBuildConfigurationChanged, this, delayedParsing); connect(&m_parsingDelay, &QTimer::timeout, this, &QbsProject::startParsing); - - connect(m_cppCodeModelUpdater, &CppTools::CppProjectUpdater::projectInfoUpdated, this, - [this](const CppTools::ProjectInfo &projectInfo){ - m_cppCodeModelProjectInfo = projectInfo; - }); } QbsProject::~QbsProject() diff --git a/src/plugins/qbsprojectmanager/qbsproject.h b/src/plugins/qbsprojectmanager/qbsproject.h index d6e2326398..6c3080ceaf 100644 --- a/src/plugins/qbsprojectmanager/qbsproject.h +++ b/src/plugins/qbsprojectmanager/qbsproject.h @@ -29,8 +29,6 @@ #include "qbsnodes.h" -#include <cpptools/projectinfo.h> - #include <projectexplorer/extracompiler.h> #include <projectexplorer/project.h> #include <projectexplorer/projectnodes.h> @@ -159,7 +157,6 @@ private: } m_cancelStatus = CancelStatusNone; CppTools::CppProjectUpdater *m_cppCodeModelUpdater = nullptr; - CppTools::ProjectInfo m_cppCodeModelProjectInfo; mutable ProjectExplorer::ProjectImporter *m_importer = nullptr; |