Remove redundant QT_NO_ACCESSIBILTY.
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>
Tue, 14 Aug 2012 12:24:54 +0000 (14:24 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 16 Aug 2012 08:39:35 +0000 (10:39 +0200)
The whole file is already ifdef'ed out.

Change-Id: I0456fcb8bd1440787aa5a16ca4c0c0234aea594c
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
src/quick/items/qquickaccessibleattached.cpp
src/quick/items/qquickaccessibleattached_p.h

index eb2a69a..c4fc80f 100644 (file)
@@ -150,10 +150,8 @@ QQuickAccessibleAttached::QQuickAccessibleAttached(QObject *parent)
     // Enable accessibility for items with accessible content. This also
     // enables accessibility for the ancestors of souch items.
     item->d_func()->setAccessibleFlagAndListener();
-#ifndef QT_NO_ACCESSIBILITY
     QAccessibleEvent ev(item, QAccessible::ObjectCreated);
     QAccessible::updateAccessibility(&ev);
-#endif
 }
 
 QQuickAccessibleAttached::~QQuickAccessibleAttached()
index 419f21a..ed2f9ad 100644 (file)
@@ -85,10 +85,8 @@ public:
         if (name != m_name) {
             m_name = name;
             emit nameChanged();
-#ifndef QT_NO_ACCESSIBILITY
             QAccessibleEvent ev(parent(), QAccessible::NameChanged);
             QAccessible::updateAccessibility(&ev);
-#endif
         }
     }
 
@@ -98,10 +96,8 @@ public:
         if (m_description != description) {
             m_description = description;
             emit descriptionChanged();
-#ifndef QT_NO_ACCESSIBILITY
             QAccessibleEvent ev(parent(), QAccessible::DescriptionChanged);
             QAccessible::updateAccessibility(&ev);
-#endif
         }
     }