Remove old state logic for ComboBox
authorFrederik Gladhorn <frederik.gladhorn@digia.com>
Wed, 22 Jan 2014 15:18:47 +0000 (16:18 +0100)
committerFrederik Gladhorn <frederik.gladhorn@digia.com>
Thu, 3 Jul 2014 21:35:01 +0000 (23:35 +0200)
The editable state is now part of the Accessible attached property, so
this hack is no longer needed.

Change-Id: Id17ec508015a8b9663804123e544f6c71ff38177
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
src/quick/accessible/qaccessiblequickitem.cpp

index c8b2d9e..381be66 100644 (file)
@@ -165,10 +165,6 @@ QAccessible::State QAccessibleQuickItem::state() const
         st.focusable = true;
     if (item()->hasActiveFocus())
         st.focused = true;
-
-    if (role() == QAccessible::ComboBox)
-        st.editable = item()->property("editable").toBool();
-
     return st;
 }