diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-06-12 23:41:36 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-06-13 08:48:26 +0200 |
commit | f1404c0ed1f89df931210a843727a1fd4eaef6a8 (patch) | |
tree | 38e3fb8c839f0373f23f995e4ee87f90050ef22e /src/platformsupport/input/evdevtouch/qevdevtouchmanager_p.h | |
parent | e01e848df4519e8ab9755da41188abdede5b0fb8 (diff) |
QEvdev: Extract Method parseSpecification()
All four manager classes contained roughly the same code in their
ctors that parsed out devices from a colon-separated string.
Extract shared code, and port the parsing to QStringRef (later to be
ported to QStringView).
Saves ~2.4KiB on optimized Linux GCC 9.1 AMD64 builds across all
.so's that link to libQtInputSupport.a.
Change-Id: I3db826ee2b422cfc02f8d49bd21985a03b6c0935
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/platformsupport/input/evdevtouch/qevdevtouchmanager_p.h')
0 files changed, 0 insertions, 0 deletions