summaryrefslogtreecommitdiffstats
path: root/util/accessibilityinspector/screenreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'util/accessibilityinspector/screenreader.cpp')
-rw-r--r--util/accessibilityinspector/screenreader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/accessibilityinspector/screenreader.cpp b/util/accessibilityinspector/screenreader.cpp
index 5f864f3c6b..3a73f21314 100644
--- a/util/accessibilityinspector/screenreader.cpp
+++ b/util/accessibilityinspector/screenreader.cpp
@@ -126,7 +126,7 @@ void ScreenReader::processTouchPoint()
m_selectedInterface = currentInterface;
emit selected(m_selectedInterface->object());
if (m_optionsWidget->enableTextToSpeach())
- speak(m_selectedInterface->text(QAccessible::Name, 0)
+ speak(m_selectedInterface->text(QAccessible::Name)
/*+ "," + translateRole(m_selectedInterface->role(0)) */);
// qDebug() << "touchPoint exit found" << m_selectedInterface->text(QAccessible::Name, 0) << m_selectedInterface->object() << m_selectedInterface->rect(0);
@@ -137,7 +137,7 @@ void ScreenReader::activate()
qDebug() << "ScreenReader::activate";
m_activateCalled = true;
if (m_selectedInterface) {
- m_selectedInterface->doAction(QAccessible::Press, 0);
+ m_selectedInterface->actionInterface()->doAction(QAccessibleActionInterface::pressAction());
}
}