diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-04-12 17:09:04 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-04-12 17:09:04 (GMT) |
commit | e9a0067ef4b272f1893522959dc15561970590ea (patch) | |
tree | 234241d0d6dbbf29857c4e66d2723f77239f31ee /src/plugins | |
parent | 6f736694461edc25b6e757f40ab9cad6a9207ad4 (diff) | |
parent | b3fd9918d2c2d46780d3f924888a67d33f246233 (diff) | |
download | Qt-e9a0067ef4b272f1893522959dc15561970590ea.zip Qt-e9a0067ef4b272f1893522959dc15561970590ea.tar.gz Qt-e9a0067ef4b272f1893522959dc15561970590ea.tar.bz2 |
Merge branch 'qt-4.7-from-4.6' of scm.dev.nokia.troll.no:qt/qt-integration into 4.7-integration
* 'qt-4.7-from-4.6' of scm.dev.nokia.troll.no:qt/qt-integration: (54 commits)
Improved support for OPTION and LINKEROPTION statements in MMP files
Fix crash with QTextEdit::textChanged() when deleting a character
econd half of the crash fix for codecs on Symbian
Autotest: Use the file in the non-writeable area
Autotest: moved these to the qtest/ dir
Fix problem with accessibility clients not getting info from QFileDialog
Fix a crash with global static objects
Autotest: same as previous commit
Autotest: fix network test failure
Doc: we don't ship a qconfig executable in the Windows CE packages
Enable preserved swap behavior when surface is created due to resize.
Fixed possible data corruption in the triangulating stroker.
Generate triggered signal even the action launches menu in Symbian.
Symbian emulator: unload file server so apps can be recompiled.
Clear QFontCache TLS content before nullifying TLS pointer.
Fixed focus and window activation events on Symbian when opening menu.
Fixed caching of QPainter patterns in the GL 2 engine.
Fixes CursorChange and TooltipChange events delivery for QGraphicsWidget
QTableView: fix spans corruption when removing spans.
Fixes painting artifacts when scaling a QGraphicsProxyWidget.
...
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/accessible/widgets/complexwidgets.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/accessible/widgets/complexwidgets.cpp b/src/plugins/accessible/widgets/complexwidgets.cpp index b4ca8f2..8be1560 100644 --- a/src/plugins/accessible/widgets/complexwidgets.cpp +++ b/src/plugins/accessible/widgets/complexwidgets.cpp @@ -724,7 +724,8 @@ public: if (start.isValid()) { m_current = start; } else if (m_view && m_view->model()) { - m_current = view->model()->index(0, 0); + m_current = view->rootIndex().isValid() ? + view->rootIndex().child(0,0) : view->model()->index(0, 0); } } |