diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-08-14 16:51:57 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-08-14 17:23:53 +0200 |
commit | ee1f74f1079d5d4cf05fb03ae3445e8d8da5e7ff (patch) | |
tree | e8be2eb616f0f2e9933b2fbeea22060ec66385b3 /src/lib/corelib/language | |
parent | e0809c7dcc94676ac09a908e2e17d34ae27bb1a8 (diff) |
remove unused member from Item class
Change-Id: I045279dd983c13640f65f08229fc8e6a65e4f642
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/corelib/language')
-rw-r--r-- | src/lib/corelib/language/item.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/corelib/language/item.h b/src/lib/corelib/language/item.h index 8859957b0..dc4b937c3 100644 --- a/src/lib/corelib/language/item.h +++ b/src/lib/corelib/language/item.h @@ -37,7 +37,6 @@ #include "propertydeclaration.h" #include <parser/qmljsmemorypool_p.h> #include <tools/codelocation.h> -#include <tools/error.h> #include <tools/weakpointer.h> #include <QList> @@ -95,7 +94,6 @@ public: const PropertyDeclaration propertyDeclaration(const QString &name) const; const Modules &modules() const; Modules &modules(); - const ErrorInfo &error() const { return m_error; } bool hasProperty(const QString &name) const; bool hasOwnProperty(const QString &name) const; @@ -116,7 +114,6 @@ public: void setChildren(const QList<Item *> &children); void setParent(Item *item); static void addChild(Item *parent, Item *child); - void setError(const ErrorInfo &error) { m_error = error; } private: ItemPool *m_pool; @@ -135,7 +132,6 @@ private: PropertyDeclarationMap m_propertyDeclarations; QList<FunctionDeclaration> m_functions; Modules m_modules; - ErrorInfo m_error; // For SubProject items. May or may not be reported depending on their condition. }; inline ItemPool *Item::pool() const |