Cocoa: Fix accessiiblityPerformAction
Remove hardcoded pressAction(); Change-Id: Ie02e3f2f88a2cd311aec1b39daa160efb3b2b617 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
This commit is contained in:
parent
9a81e37107
commit
31043e6b8d
@ -204,8 +204,7 @@ static QAccessibleInterface *acast(void *ptr)
|
||||
- (void)accessibilityPerformAction:(NSString *)action {
|
||||
QAccessibleActionInterface *actionInterface = acast(accessibleInterface)->actionInterface();
|
||||
if (actionInterface) {
|
||||
QString qtAction = QCocoaAccessible::translateAction(action);
|
||||
actionInterface->doAction(QAccessibleActionInterface::pressAction());
|
||||
actionInterface->doAction(QCocoaAccessible::translateAction(action));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user