diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-08-21 21:06:56 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-08-24 21:48:35 +0000 |
commit | 6a35c6d491b0c0decbec0abc9b2b97c9c6ff5707 (patch) | |
tree | 70a1636e9fbb0bc4a0f8ac70eb0fe9610e651e2f /src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp | |
parent | c1804bb5c198b3cc5364847ce2bb642161fa15f1 (diff) |
QKeySequence: replace an array end marker by static size calculation
This improves code generation, since the compiler statically knows
the number of loop iterations. But it also fixes a compile-error
on Clang with a following change of the name field from char* to
char[].
Change-Id: I7ef18adf3cb9b34cd1b7235cb35cf26b7e349d92
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp')
0 files changed, 0 insertions, 0 deletions