summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qheaderview_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-12-24 00:27:39 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-12-31 18:44:53 +0000
commit9059931cd2103a814d247d35998d49f03e9131e5 (patch)
treeb03c0ee0967ec8007ecdacb1ec5903462f2564c7 /src/widgets/itemviews/qheaderview_p.h
parenteb9fdf7c0797b52d949ba90d33bf0c9d6e3a806a (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