diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-12-12 21:49:00 +0200 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-12-13 15:43:28 +0200 |
| commit | 208e42ed8cee577fbbc54e602931bf7454421a02 (patch) | |
| tree | bbed340f448280c4e8a3ed09e055971ecf50dafc /examples | |
| parent | fee2641696f51966c4c592e9c1a9d38a4f57123b (diff) | |
Amends d3090f4ff235d12adba5abe3fc2a19d26b4711fc, which replaced Q_ENUMS
with Q_FLAG for enums declard as QFlags. Q_FLAG registers the individual
enum values with the meta-type system, but doesn't register the enum
type itself, which breaks some functionality for the enum type wrt. the
meta-type system, e.g. `QMetaEnum::fromType`.
Fix the issue by adding Q_ENUM for those enums.
Pick-to: 6.11 6.10 6.8 6.5
Change-Id: Ia07985dffc58c26881147194b1fa922643c3f8b6
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
