diff options
author | Jan-Arve Saether <jan-arve.saether@nokia.com> | 2012-08-07 14:47:00 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-14 00:34:01 (GMT) |
commit | ec5f08a4d5ceefe72d33605066f8c9d0e75bc3d0 (patch) | |
tree | 7bd0bf600eb6e107d06855b9dabe4d9a972ad3fa /src/plugins/accessible/widgets | |
parent | 4720003c8f52ad7ecb59be04e1b5aa319c2f0ff0 (diff) | |
download | Qt-ec5f08a4d5ceefe72d33605066f8c9d0e75bc3d0.zip Qt-ec5f08a4d5ceefe72d33605066f8c9d0e75bc3d0.tar.gz Qt-ec5f08a4d5ceefe72d33605066f8c9d0e75bc3d0.tar.bz2 |
Accessibility: Add missing break;
Found while porting QAccessibleTextWidget to Qt 5
Change-Id: I6a8f69d859fad20949e8250f03dd18d4106cc31c
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Diffstat (limited to 'src/plugins/accessible/widgets')
-rw-r--r-- | src/plugins/accessible/widgets/qaccessiblewidgets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp index 41ad99c..06d3500 100644 --- a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp +++ b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp @@ -1621,6 +1621,7 @@ QPair< int, int > QAccessibleTextWidget::getBoundaries(int offset, BoundaryType result.first = cursor.position(); cursor.movePosition(QTextCursor::NextCharacter, QTextCursor::KeepAnchor); result.second = cursor.position(); + break; case WordBoundary: cursor.movePosition(QTextCursor::StartOfWord, QTextCursor::MoveAnchor); result.first = cursor.position(); |