Commit 2c42d6af authored by Jan Arve Saether's avatar Jan Arve Saether Committed by Jan Arve Sæther
Browse files

Fix a bug in implementation of Accessible.ignored


m_ignored is not really used.

Change-Id: Ic2926fbdf22a6a5bc82fe9f4475b7b8058eacae5
Reviewed-by: default avatarFrederik Gladhorn <frederik.gladhorn@digia.com>
parent 0fadb710
Branches
Tags
No related merge requests found
Showing with 1 addition and 2 deletions
...@@ -302,7 +302,7 @@ bool QQuickAccessibleAttached::ignored() const ...@@ -302,7 +302,7 @@ bool QQuickAccessibleAttached::ignored() const
void QQuickAccessibleAttached::setIgnored(bool ignored) void QQuickAccessibleAttached::setIgnored(bool ignored)
{ {
if (m_ignored != ignored) { if (this->ignored() != ignored) {
item()->d_func()->isAccessible = !ignored; item()->d_func()->isAccessible = !ignored;
emit ignoredChanged(); emit ignoredChanged();
} }
......
...@@ -221,7 +221,6 @@ private: ...@@ -221,7 +221,6 @@ private:
QAccessible::State m_state; QAccessible::State m_state;
QString m_name; QString m_name;
QString m_description; QString m_description;
bool m_ignored;
public: public:
using QObject::property; using QObject::property;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment