summaryrefslogtreecommitdiffstats
path: root/src/plugins/accessible
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-02-17 14:37:43 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-03-23 12:57:22 (GMT)
commit9a5b0d7a579572cd7e7faf869ab1a6684800f592 (patch)
treea60c301ae132f7e57f7ea74c2266ff3cf1f708be /src/plugins/accessible
parente783275cfb71e7325472b3aea54e109a7a854bf7 (diff)
downloadQt-9a5b0d7a579572cd7e7faf869ab1a6684800f592.zip
Qt-9a5b0d7a579572cd7e7faf869ab1a6684800f592.tar.gz
Qt-9a5b0d7a579572cd7e7faf869ab1a6684800f592.tar.bz2
Window and Application fixes for accessibility.
Return app name instead of window title for root accessibility object. Return Window as accessible type for the main window. Reviewed-by: Jan-Arve
Diffstat (limited to 'src/plugins/accessible')
-rw-r--r--src/plugins/accessible/widgets/qaccessiblewidgets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp
index ca3f827..c9db1dc 100644
--- a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp
+++ b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp
@@ -1603,7 +1603,7 @@ void QAccessibleTextEdit::setAttributes(int startOffset, int endOffset, const QS
#ifndef QT_NO_MAINWINDOW
QAccessibleMainWindow::QAccessibleMainWindow(QWidget *widget)
- : QAccessibleWidgetEx(widget, Application) { }
+ : QAccessibleWidgetEx(widget, Window) { }
QVariant QAccessibleMainWindow::invokeMethodEx(QAccessible::Method /*method*/, int /*child*/, const QVariantList & /*params*/)
{