summaryrefslogtreecommitdiffstats
path: root/header.LGPL-NOGPL2
diff options
context:
space:
mode:
authorAndre Somers <andre.somers@kdab.com>2016-02-02 14:40:29 +0100
committerAndre Somers <andre@familiesomers.nl>2016-02-12 19:32:05 +0000
commit0df5c366e50b9533fd8ea3f31c4c360ae7f4c5b6 (patch)
tree301cb4fa308fb306f65ca2fa55a157ab6a46798d /header.LGPL-NOGPL2
parentc5d49725779292a04fed599eb7f508d334ffc5c3 (diff)
Use QFlags::setFlag where prudent in qtbase
QFlags::setFlag is most useful to replace explicit constructs like if (condition) { someFlags |= TheConditionFlag; } else { someFlags &= ~TheConditionFlag; } with someFlags.setFlag(TheConditionFlag, condition); Change-Id: Ie4586681c83e0af812d5bbf14965aad51941a960 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'header.LGPL-NOGPL2')
0 files changed, 0 insertions, 0 deletions