From 72ddbacc05b50295b029586d44d435cae1f53a6e Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Tue, 28 Jul 2009 17:16:09 +1000 Subject: Initialize variable --- src/declarative/fx/qfxlistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarative/fx/qfxlistview.cpp b/src/declarative/fx/qfxlistview.cpp index e563ecb..4ff17c1 100644 --- a/src/declarative/fx/qfxlistview.cpp +++ b/src/declarative/fx/qfxlistview.cpp @@ -54,7 +54,7 @@ class QFxListViewAttached : public QObject Q_OBJECT public: QFxListViewAttached(QObject *parent) - : QObject(parent), m_isCurrent(false), m_delayRemove(false) {} + : QObject(parent), m_view(0), m_isCurrent(false), m_delayRemove(false) {} ~QFxListViewAttached() { attachedProperties.remove(parent()); } -- cgit v0.12