summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2022-07-27 14:59:46 +0200
committerMaximilian Goldstein <max.goldstein@qt.io>2022-08-02 22:07:21 +0200
commiteef5ff0671f55d18d3160d11eba5c7b8d9bbec64 (patch)
tree9f96b9a2a1b9da971eb63152fe6aa43f56579869 /src/corelib
parent5fc8a377ce56d67f3b54df62bda8a45ba4416f9a (diff)
QLocale: Expose FormatTime enum via Q_ENUM
Previously it wasn't exposed to the metatypes system. Change-Id: I096fb505c957ff30a5dc43b30f02530513e5f85a Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/text/qlocale.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/text/qlocale.h b/src/corelib/text/qlocale.h
index 72c98685fa..3bd545467f 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,