Cancel code model indexing on project closing and full code model update

Task-Nr: QTCREATORBUG-1151
This commit is contained in:
dt
2010-04-22 18:57:43 +02:00
parent aa3ccee492
commit f093d0806b
6 changed files with 14 additions and 6 deletions

View File

@@ -41,7 +41,7 @@
#include <projectexplorer/toolchain.h>
#include <projectexplorer/buildconfiguration.h>
#include <coreplugin/ifile.h>
#include <QFuture>
#include <QtGui/QLineEdit>
namespace Utils {
@@ -140,6 +140,7 @@ private:
GenericProjectNode *m_rootNode;
ProjectExplorer::ToolChain *m_toolChain;
ProjectExplorer::ToolChain::ToolChainType m_toolChainType;
QFuture<void> m_codeModelFuture;
};
class GenericProjectFile : public Core::IFile