diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-08-31 09:58:40 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-08-31 10:53:21 +0200 |
commit | 9f7a2194f7fd7a453acaa1d96b3c7a3ba571f044 (patch) | |
tree | 6a2d7123828bbbda2a0ddf52066eb2cb29bbbd47 /src/libs/cplusplus/ModelManagerInterface.h | |
parent | 7bc8dd18a3f9a81f11ad993bb6b3219ddb6af56f (diff) | |
download | qt-creator-9f7a2194f7fd7a453acaa1d96b3c7a3ba571f044.tar.gz |
QmlJS: Fix infinite loop when scanning for exported C++ types.
Setting extra diagnostics would call updateDocument which would in turn
trigger another scan.
Change-Id: I3810a380cdf716a12767d94ff82dc30f8ae3954d
Reviewed-on: http://codereview.qt.nokia.com/3917
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Diffstat (limited to 'src/libs/cplusplus/ModelManagerInterface.h')
-rw-r--r-- | src/libs/cplusplus/ModelManagerInterface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/cplusplus/ModelManagerInterface.h b/src/libs/cplusplus/ModelManagerInterface.h index cf5f719e0e..0c2f976de2 100644 --- a/src/libs/cplusplus/ModelManagerInterface.h +++ b/src/libs/cplusplus/ModelManagerInterface.h @@ -154,6 +154,7 @@ public: Q_SIGNALS: void documentUpdated(CPlusPlus::Document::Ptr doc); void sourceFilesRefreshed(const QStringList &files); + void extraDiagnosticsUpdated(QString fileName); public Q_SLOTS: virtual void updateModifiedSourceFiles() = 0; |