diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-06-29 13:34:47 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-29 14:03:48 +0200 |
commit | b9a5e257882c6418e28a82b9af1e9a6ac3044aea (patch) | |
tree | 920fc2e3e6b51a8f0c0f4c486158ec7d667dd074 /tests | |
parent | 2f7e41de27d7786f54dd25569562188c321dbd7f (diff) | |
download | qtscript-b9a5e257882c6418e28a82b9af1e9a6ac3044aea.tar.gz |
Use the new function QMetaMethod::name() instead of methodSignature()
Calling methodSignature() is inefficient in Qt5 because it
dynamically constructs a string. In the places where we only want the
method name, we should call QMetaMethod::name() instead.
Change-Id: Ie2e66945a3a275630aad1c9253bd60b9889b7cfd
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions