summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoabackingstore.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-02-17 09:23:29 +0100
committerDavid Faure <david.faure@kdab.com>2015-02-26 09:49:10 +0000
commit05e0dfa0060aab80afc696161226b2ab0cddfbf9 (patch)
treec848d937af71a450f940d4226cb867429ad976a5 /src/plugins/platforms/cocoa/qcocoabackingstore.h
parent081afb2a16eb9a85458d32b2365b301115fd2119 (diff)
Reverse iteration in QMetaEnum::valueToKeys().
Otherwise, values that are composed of others are not handled correctly. For example, Qt::Dialog|Qt::FramelessWindowHint (Qt::Dialog=0x2|Qt::Window) is currently output as "Window|FramelessWindowHint" since Qt::Window matches first and its bits are removed from the flag value so that Qt::Dialog in the next iteration no longer matches. Change-Id: I67db5c977c75f887392aa8f345c5e6e9d82c5c26 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoabackingstore.h')
0 files changed, 0 insertions, 0 deletions