diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-09-27 13:14:30 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-09-30 10:13:06 +0200 |
commit | 098bf9739839364df93677dae963427fdec5f6c4 (patch) | |
tree | b5b1ee5a5df5062b6f46c0f7ed3f9f989a561af4 /src/qml/doc | |
parent | bf8bc25cea310462d7b798a05c4e8d63bb6f87cd (diff) |
Doc: Promote writing arrays as enum descriptions in qmltypes files
We won't be able to auto-generate the old syntax when moving to
qmltyperegistrar. qmllint already understands the new syntax.
Change-Id: I8f20bddcd750e2b3ecfa9d5643bbf1d4d25dc550
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/qml/doc')
-rw-r--r-- | src/qml/doc/src/qmllanguageref/modules/qmldir.qdoc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qml/doc/src/qmllanguageref/modules/qmldir.qdoc b/src/qml/doc/src/qmllanguageref/modules/qmldir.qdoc index 0faad43f4f..f7d71030b5 100644 --- a/src/qml/doc/src/qmllanguageref/modules/qmldir.qdoc +++ b/src/qml/doc/src/qmllanguageref/modules/qmldir.qdoc @@ -479,10 +479,7 @@ Module { Enum { name: "Loops" - values: { - "Infinite": -2, - "OnceOnly": 1 - } + values: [ "Infinite", "OnceOnly" ] } // Signal and Method work the same way. The inner Parameter |