summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuspendingreply.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-03 00:15:15 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-11 17:19:34 +0200
commit89f55f13fdae3aa52614b063ff6ceb8276340d44 (patch)
tree0da25bfc674ee36abd8a34572ecf3e6819b0bb48 /src/dbus/qdbuspendingreply.cpp
parent26638dfe3be009e886d5fc0b2ffa1879efee56b5 (diff)
QFlags::testFlag: clarify the behavior in the docs
The name made me fall in a trap: I thought that testFlag returned true if *any* of the bits in the argument were set in the QFlags object. In reality, it returns true if *all* the bits are set, and an argument equivalent to 0 is treated specially. Clarify this in the documentation. Change-Id: I9e8088c48038b4e6ba5830fdb7e473c6d7884b29 Pick-to: 5.15 6.0 6.1 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbuspendingreply.cpp')
0 files changed, 0 insertions, 0 deletions