diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-25 20:38:39 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-26 09:28:54 (GMT) |
commit | 0f06d08a3c5eb4d0397406ed559cfaba6e137492 (patch) | |
tree | 839a9181f83e7e8fdb407e5cc97ecec2439a4bb8 /src/gui/widgets/qscrollarea.cpp | |
parent | 88c9a52646ef1c695ef0a7461ed1f6a7ce923375 (diff) | |
download | Qt-0f06d08a3c5eb4d0397406ed559cfaba6e137492.zip Qt-0f06d08a3c5eb4d0397406ed559cfaba6e137492.tar.gz Qt-0f06d08a3c5eb4d0397406ed559cfaba6e137492.tar.bz2 |
Optimize QObjectPrivate::isSignalConnected
It can be seen in the GraphicsView benchmark.
This function has to be as fast as possible.
Make the function inline.
We do not need 64bit for the connectedSignals bit array because
it is very unlikely that an object will have more than 32 signals.
(In Qt 4.5 it could have hapenned as the slot were counting in
the index)
Reviewed-by: bnilsen
Reviewed-by: Brad
Diffstat (limited to 'src/gui/widgets/qscrollarea.cpp')
0 files changed, 0 insertions, 0 deletions