summaryrefslogtreecommitdiffstats
path: root/src/corelib/json/qjson_p.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-08-25 14:10:03 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2016-08-25 14:06:51 +0000
commit095abb192577d61215fcf7ea3a55338c54a3c4b0 (patch)
tree609b8596e714b96a72c00dfa79db13c72ac1d34e /src/corelib/json/qjson_p.h
parentde7f281d7ad1bc8e3dc5a549436a8cb3ba159e7f (diff)
QScreen manual test: fix conversion of enum values to names
Use the correct method of QMetaEnum to convert enum values to names. QMetaEnum::valueToKey() should be used, because it takes an enum value as an argument, while QMetaEnum::key() takes an index of the enum value. Change-Id: Ie895fcc935e8835e3d9c416ca34be8bfe82fd74e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/corelib/json/qjson_p.h')
0 files changed, 0 insertions, 0 deletions