summaryrefslogtreecommitdiff
path: root/src/controls/plugin.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2017-05-29 14:57:07 +0200
committerMitch Curtis <mitch.curtis@qt.io>2017-06-16 12:15:29 +0000
commitd13e4db9d74aefc0bd08ca946b789155a11361fb (patch)
treebd99878b498975662042c51a0ee7b9fdaf9245c1 /src/controls/plugin.cpp
parent9f085b889524a80d4064d6ac01dbdc817bb31060 (diff)
downloadqtquickcontrols-d13e4db9d74aefc0bd08ca946b789155a11361fb.tar.gz
Calendar: make locale property public
This is useful to set a locale on a specific calendar, as opposed to using the application-wide default. plugins.qmltypes was also updated. [ChangeLog][Calendar] Added locale property, which affects which day is shown as the first day of the week, as well as date and day name localization. Task-number: QTBUG-60217 Change-Id: I113298a3f3b6dd407d26f3f55ed6973e73ab6a4c Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/controls/plugin.cpp')
-rw-r--r--src/controls/plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/plugin.cpp b/src/controls/plugin.cpp
index 2abd906e..257b1381 100644
--- a/src/controls/plugin.cpp
+++ b/src/controls/plugin.cpp
@@ -124,6 +124,7 @@ static const struct {
{ "TextArea", 1, 5 },
{ "TreeView", 1, 5 },
+ { "Calendar", 1, 6 },
{ "Slider", 1, 6 }
};