diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-12 05:04:25 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-12 05:04:25 (GMT) |
commit | 58fcfaecd1ce82ef19feb25eca8b3bf2f3f3d4c1 (patch) | |
tree | 1c0525e9c9d4874ec7e3934c61b29a260d15bb53 /src/declarative | |
parent | a1c5296a9feb7dd6c50b217c6ea68ad062884aab (diff) | |
download | Qt-58fcfaecd1ce82ef19feb25eca8b3bf2f3f3d4c1.zip Qt-58fcfaecd1ce82ef19feb25eca8b3bf2f3f3d4c1.tar.gz Qt-58fcfaecd1ce82ef19feb25eca8b3bf2f3f3d4c1.tar.bz2 |
Remove dead code
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qdeclarativecontext_p.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/declarative/qml/qdeclarativecontext_p.h b/src/declarative/qml/qdeclarativecontext_p.h index ba9aa41..682adb5 100644 --- a/src/declarative/qml/qdeclarativecontext_p.h +++ b/src/declarative/qml/qdeclarativecontext_p.h @@ -113,19 +113,6 @@ public: QDeclarativeDeclarativeData *contextObjects; - struct IdNotifier - { - inline IdNotifier(); - inline ~IdNotifier(); - - inline void clear(); - - IdNotifier *next; - IdNotifier**prev; - QObject *target; - int methodIndex; - }; - struct ContextGuard : public QDeclarativeGuard<QObject> { inline ContextGuard(); @@ -157,24 +144,6 @@ public: static QObject *context_at(QDeclarativeListProperty<QObject> *, int); }; -QDeclarativeContextPrivate::IdNotifier::IdNotifier() -: next(0), prev(0), target(0), methodIndex(-1) -{ -} - -QDeclarativeContextPrivate::IdNotifier::~IdNotifier() -{ - clear(); -} - -void QDeclarativeContextPrivate::IdNotifier::clear() -{ - if (next) next->prev = prev; - if (prev) *prev = next; - next = 0; prev = 0; target = 0; - methodIndex = -1; -} - QDeclarativeContextPrivate::ContextGuard::ContextGuard() : priv(0) { |