diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-09-27 10:04:42 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2018-09-27 08:36:56 +0000 |
commit | 4441cefd76446a9e464665bd7fb0666f0e2495c3 (patch) | |
tree | 657bce2b927e9b74a515961b27b1db9c06e6204b /src/qml/qml/qqmllist.cpp | |
parent | 8fd398c9d2f5f54e446e0b402bc63a2edb50da6f (diff) |
Doc: Remove wrong ';' from Q_PROPERTY example
This won't compile.
Change-Id: I823435673ebe47900dd8ba2a2a9f6f49e4a31539
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/qml/qml/qqmllist.cpp')
-rw-r--r-- | src/qml/qml/qqmllist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmllist.cpp b/src/qml/qml/qqmllist.cpp index ac6e3695fe..918b181195 100644 --- a/src/qml/qml/qqmllist.cpp +++ b/src/qml/qml/qqmllist.cpp @@ -361,7 +361,7 @@ List properties should have no setter. In the example above, the Q_PROPERTY() declarative will look like this: \code -Q_PROPERTY(QQmlListProperty<Fruit> fruit READ fruit); +Q_PROPERTY(QQmlListProperty<Fruit> fruit READ fruit) \endcode QML list properties are type-safe - in this case \c {Fruit} is a QObject type that |