aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorArno Rehn <a.rehn@menlosystems.com>2019-01-14 15:31:57 +0100
committerArno Rehn <a.rehn@menlosystems.com>2019-01-31 08:19:11 +0000
commit38f097ba76fe5b26ccc15a5599e312336200e564 (patch)
tree45cca5f4d81fcce5b1f41c09330f7f17605f57ed /.gitignore
parentc80cbce7ac3b38a45a38b57795c7eb19e5177a17 (diff)
Correctly convert enums and QFlags from and to JSON
Previously, enums declared with Q_ENUM were stringified in the conversion to JSON and QFlags did not work at all. The conversion of QJsonValue(int) to enum worked fine, however. This patch implements some extra logic for detecting enums and QFlags, thus correctly converting to and from integers. [ChangeLog] Enum values and QFlags are now correctly converted to and from integers in the JS interface Fixes: QTBUG-72924 Change-Id: I23d4a1120b805201c8d450edbd990aad5ad258a2 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions