diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2015-04-17 12:06:29 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-04-20 07:43:39 +0000 |
commit | a91ac8d5a66396960ff37d805ecf03079ee00391 (patch) | |
tree | fa19411dfb4d8fab16ea14c33c40ff833e4190b2 /tests/auto/other | |
parent | 0495970631fc4904c485f42460a30373d32d4c25 (diff) |
Optimize QXcbKeyboard::lookupString.
For the common case of strings smaller than 32 chars this removes a
temporary QByteArray allocation and the second call to
xkb_state_key_get_utf8.
Change-Id: I81cbbf2df683476b38c2ffb96119293cd5b09a90
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto/other')
0 files changed, 0 insertions, 0 deletions