diff options
author | Kent Hansen <[email protected]> | 2012-06-29 13:34:47 +0200 |
---|---|---|
committer | Qt by Nokia <[email protected]> | 2012-06-29 14:03:48 +0200 |
commit | b9a5e257882c6418e28a82b9af1e9a6ac3044aea (patch) | |
tree | 920fc2e3e6b51a8f0c0f4c486158ec7d667dd074 /src/script/api/qscriptengine.cpp | |
parent | 2f7e41de27d7786f54dd25569562188c321dbd7f (diff) |
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 <[email protected]>
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions