diff options
author | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-10-06 16:13:31 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-10-15 08:25:18 +0000 |
commit | 61be975574bff3e8f34d55df5131284a0134f7b4 (patch) | |
tree | 0a7d1f764853aee3bed20275e96dabfa46f907b0 /tests | |
parent | 6f34660340421670c44d726249af3dd2f0be04fa (diff) | |
download | qtbase-61be975574bff3e8f34d55df5131284a0134f7b4.tar.gz |
QStateMachine: cleanup QAbstractTransition::setTargetStates
Prevent QPointer creation for every new target, and a copy of a QVector
of QPointer, and two QPointer destructions, when setting new target
states. The typical (only?) use-case, setting the target states right
after transition creation, is also faster.
Change-Id: I931783afbcea43c8a84200133f26454a4b689edc
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions