diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-12-24 00:27:39 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-12-31 18:44:53 +0000 |
commit | 9059931cd2103a814d247d35998d49f03e9131e5 (patch) | |
tree | b03c0ee0967ec8007ecdacb1ec5903462f2564c7 /src/widgets/itemviews/qheaderview_p.h | |
parent | eb9fdf7c0797b52d949ba90d33bf0c9d6e3a806a (diff) |
QStateMachine: replace a Q_FOREACH with QSet::op-=
Both 'configuration' and 'pendingErrorStates' are
QSet<QAbstractState*>, so we can use QSet::operator-=
to subtract one from the other. No need to loop
over QSet::remove() here.
Nevermind that QSet::operator-= is really poorly
implemented atm. That needs to be fixed in QSet.
Change-Id: I3f3172ce9a485c4c2abf7d19b831fb0dc1ea61b1
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/itemviews/qheaderview_p.h')
0 files changed, 0 insertions, 0 deletions