diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-05-11 09:22:59 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-05-11 09:27:49 (GMT) |
commit | 386c640d9c0cc0984f33225b72e6d46e3718dcf7 (patch) | |
tree | e9f4b0b9283f253c704dc4cfe5579e435fe9e007 /src/gui/kernel/qx11embed_x11.cpp | |
parent | dedbb56e3677ef67eded709eb8a826e4a9848b52 (diff) | |
download | Qt-386c640d9c0cc0984f33225b72e6d46e3718dcf7.zip Qt-386c640d9c0cc0984f33225b72e6d46e3718dcf7.tar.gz Qt-386c640d9c0cc0984f33225b72e6d46e3718dcf7.tar.bz2 |
Faster slot disconnection while destroying of QObject
Destroying a QObject which is connected to many signals was slow.
We had to loop over all the ConnectionsList of all the connected object
to remove the connections. (in QObjectPrivate::removeReceiver)
The idea is to now use lists of pointer to Connection both in the
connection list, and in the list of senders. So clearing the connection
should be faster.
Task-number: 251097
Reviewed-by: Brad
Diffstat (limited to 'src/gui/kernel/qx11embed_x11.cpp')
0 files changed, 0 insertions, 0 deletions