From ec550e28d2b8fa1c6a4e4103f33df1b339862b28 Mon Sep 17 00:00:00 2001 From: Jan-Arve Saether Date: Wed, 18 Jan 2012 14:42:13 +0100 Subject: Remove all references to QAccessible::Self navigate() to Self does not make any sense (its basically a clone). It seems that its not that useful to return Self from relationTo(), since it was only one place where relationTo() was called where it checked for the Self flag. This was in the windows bridge, and we could easily work around that. If it really turns out that Self is useful, we can always add that enum value back later. Change-Id: I9ebb60da059a843de5e6fcab9e815b919afc6f2a Reviewed-by: Frederik Gladhorn --- src/gui/accessible/qaccessibleobject.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gui/accessible/qaccessibleobject.cpp') diff --git a/src/gui/accessible/qaccessibleobject.cpp b/src/gui/accessible/qaccessibleobject.cpp index c9b01c7050..313bff35a5 100644 --- a/src/gui/accessible/qaccessibleobject.cpp +++ b/src/gui/accessible/qaccessibleobject.cpp @@ -231,10 +231,6 @@ QAccessible::Relation QAccessibleApplication::relationTo(const QAccessibleInterf if (!o) return QAccessible::Unrelated; - if(o == object()) { - return QAccessible::Self; - } - return QAccessible::Unrelated; } -- cgit v1.2.3