summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-08-23 09:51:39 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-08-30 22:38:37 +0200
commite45e6efa723297e8aaa1132251ef55b65201d174 (patch)
tree0adf0a2365a68a3790fd455568f1b9766315fae6 /bin
parent65dfc485adc1c5de4840f217c47c6ad79d26ae82 (diff)
QTouchDevice: don't play ping-pong with q*PostRoutine()
Removing a qPostRoutine is an O(N) operation. It's perfectly ok to keep calling it even if the list has become empty before. Just qAddPostRoutine in the deviceList's ctor and never remove it again. Add a missing qAsConst as a drive-by. Change-Id: I25f824b74012146214568cfccb22c5dba3ca38ef Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions