diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2014-02-05 16:03:20 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-21 15:03:34 +0100 |
commit | e3e4d6a18d63537459f0e616360e53e816927f76 (patch) | |
tree | c52e2d7d402dd1cea731065a673301821e5a72d7 /tests/qml/tst_webchannel.qml | |
parent | 3a85e592c050e73e61dc54d22e133bcf08d2f3c5 (diff) | |
download | qtwebchannel-e3e4d6a18d63537459f0e616360e53e816927f76.tar.gz |
Use an enum for message types instead of strings.
This further reduces the network traffic and thus leads to a small
performance boost.
Personally, I also think this code is a bit nicer to read and grasp.
Change-Id: I943c621142e9982f0e52d24e3a0976428856541b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'tests/qml/tst_webchannel.qml')
0 files changed, 0 insertions, 0 deletions