summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qlabel.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-25 20:38:39 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-26 09:28:54 (GMT)
commit0f06d08a3c5eb4d0397406ed559cfaba6e137492 (patch)
tree839a9181f83e7e8fdb407e5cc97ecec2439a4bb8 /src/gui/widgets/qlabel.h
parent88c9a52646ef1c695ef0a7461ed1f6a7ce923375 (diff)
downloadQt-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/qlabel.h')
0 files changed, 0 insertions, 0 deletions