From eef5ff0671f55d18d3160d11eba5c7b8d9bbec64 Mon Sep 17 00:00:00 2001 From: Maximilian Goldstein Date: Wed, 27 Jul 2022 14:59:46 +0200 Subject: [PATCH] QLocale: Expose FormatTime enum via Q_ENUM Previously it wasn't exposed to the metatypes system. Change-Id: I096fb505c957ff30a5dc43b30f02530513e5f85a Reviewed-by: Ulf Hermann Reviewed-by: Edward Welbourne Reviewed-by: Qt CI Bot --- src/corelib/text/qlocale.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/text/qlocale.h b/src/corelib/text/qlocale.h index 72c98685faf..3bd545467f1 100644 --- a/src/corelib/text/qlocale.h +++ b/src/corelib/text/qlocale.h @@ -856,6 +856,7 @@ public: Q_ENUM(MeasurementSystem) enum FormatType { LongFormat, ShortFormat, NarrowFormat }; + Q_ENUM(FormatType) enum NumberOption { DefaultNumberOptions = 0x0, OmitGroupSeparator = 0x01,