diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-05-10 13:15:10 +0200 |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-05-10 13:15:10 +0200 |
commit | 48b7c870ec5840a5367700ebf40005bfb69b47c9 (patch) | |
tree | 304cd03c3d82e4187a2ce63f1842e4e320a7d165 /src/gui/kernel | |
parent | 1e331968e1497cf45722d125065096670665cda7 (diff) | |
parent | f0857b766772b2dac0d7ced5cbc2edd66f2cdcca (diff) |
Merge remote-tracking branch 'staging/master'
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index ebc9dd526d..434a788b89 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -11344,8 +11344,10 @@ void QWidget::updateMicroFocus() } #endif #ifndef QT_NO_ACCESSIBILITY - // ##### is this correct - QAccessible::updateAccessibility(this, 0, QAccessible::StateChanged); + if (isVisible()) { + // ##### is this correct + QAccessible::updateAccessibility(this, 0, QAccessible::StateChanged); + } #endif } |