This applies to the Q_ENUM/Q_FLAGS overload of the debugging functions. This prevents the sign-extension of a signed QFlags field when converting to quint64, which would have resulted in 0x8000'0000 becoming 0xffff'ffff'8000'0000. Right now, this is a no-op change because the implementation in qt_QMetaEnum_flagDebugOperator() calls QMetaEnum::valueToKey(), which is limited to int (32 bits). Change-Id: I8a96935cf6c742259c9dfffd17e998c3a0538146 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 232ad339ab14965b6207d04a45d8d37ec3139558) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| tst_qmetaenum.cpp | ||