diff options
author | Boris Dušek <me@dusek.me> | 2015-03-17 23:02:23 +0100 |
---|---|---|
committer | Boris Dušek <me@dusek.me> | 2015-03-25 09:47:52 +0000 |
commit | 551f39bac501db95d2c1f0c66060eef716b4a653 (patch) | |
tree | 0660b1fed45e0ec20025a6cc5eb83f55e4d8fd69 /src/widgets/accessible/qaccessiblewidgets.cpp | |
parent | 898ca6ff769c10c76c40cecb8f9cc82bacb3241f (diff) |
Fix accessibility character rect tests
textEditTest in qaccessibility test was using QTextEdit::setCurrentFont
on second pass, but that did not change the font used for text in any way.
I don't know what was the purpose. So I changed it into something that
made sense to me and actually tests text with a different font on second pass.
Also fixed characterRect function in tests to use correct font/format.
Change-Id: I843c5b29f8048196ec3405b6717655e77b567dbb
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'src/widgets/accessible/qaccessiblewidgets.cpp')
0 files changed, 0 insertions, 0 deletions