[Interest] .remove() feature?
Lorenz Haas
lykurg at gmail.com
Fri Sep 23 14:44:53 CEST 2016
Hi,
> Has anybody
> else seen this behavior in 5.x? Is removeAt() really queueing a low priority
> event so the removeAt() doesn't actually happen until the event queue is
> processed completely?
my QHash only has a remove() function. Also, it removes the item right
away, no events involved:
https://github.com/qt/qtbase/blob/dev/src/corelib/tools/qhash.h#L785
What "for()" loop are you talking about, may be a Q_FOREACH? Are you
sure the loop was working on the hash? Maybe it was just a copy of the
hash they thought they were working on?
Cheers
Lorenz
More information about the Interest
mailing list