qlocale: Fix some flags not being exposed to the metatype system
This caused it to be unavailable in metatypes and thus to not work in qml. Change-Id: I22b6fa3b43fe609bdc1167dc081290eb93845491 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>bb10
parent
d68da61564
commit
6f976a4c7d
|
|
@ -867,6 +867,7 @@ public:
|
|||
RejectTrailingZeroesAfterDot = 0x20
|
||||
};
|
||||
Q_DECLARE_FLAGS(NumberOptions, NumberOption)
|
||||
Q_FLAG(NumberOption)
|
||||
|
||||
enum FloatingPointPrecisionOption {
|
||||
FloatingPointShortest = -128
|
||||
|
|
@ -1063,6 +1064,7 @@ public:
|
|||
AnyLanguageCode = -1
|
||||
};
|
||||
Q_DECLARE_FLAGS(LanguageCodeTypes, LanguageCodeType)
|
||||
Q_FLAG(LanguageCodeType)
|
||||
|
||||
#if QT_CORE_REMOVED_SINCE(6, 3)
|
||||
static QString languageToCode(Language language);
|
||||
|
|
|
|||
Loading…
Reference in New Issue