summaryrefslogtreecommitdiffstats
path: root/src/widgets/graphicsview
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2016-11-11 08:01:29 +0100
committerLiang Qi <liang.qi@qt.io>2016-11-14 20:59:51 +0000
commit246fe271878dbe586b5f3222a78d67dfecd1ca83 (patch)
tree12a6f614b79d893c4f7b5a3a74043acee9ccc58c /src/widgets/graphicsview
parent291eba6f8099a0fec8fbd9cf8a1fb67e5c9f4f8d (diff)
Cocoa: Make dictation via speech recognition work
Returning NSNotFound from the NSTextInputClient selectedRange implementation when there is no selection prevents dictation from activating (for unknown reasons). Return an empty {0, 0} range instead. Text input methods such as Pinyin still work after this change. [ChangeLog][macOS] Speech to text dictation now works for Qt text input. Change-Id: Ibf1729bdd271e8ed5ce3c9d2a0373c8ab3613d8e Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/widgets/graphicsview')
0 files changed, 0 insertions, 0 deletions