Initialize value.
authorMichael Brasser <michael.brasser@nokia.com>
Tue, 7 Feb 2012 00:22:09 +0000 (10:22 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 7 Feb 2012 11:59:49 +0000 (12:59 +0100)
Change-Id: Ibfb045827a38021fcfa43e735823ad346c5c066c
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
src/quick/items/qquickaccessibleattached.cpp

index 8ea870c..b28c28b 100644 (file)
@@ -138,7 +138,7 @@ QT_BEGIN_NAMESPACE
 */
 
 QQuickAccessibleAttached::QQuickAccessibleAttached(QObject *parent)
-    : QObject(parent)
+    : QObject(parent), m_role(QAccessible::NoRole)
 {
     Q_ASSERT(parent);
     QQuickItem *item = qobject_cast<QQuickItem*>(parent);