diff options
author | Ulf Hermann <[email protected]> | 2020-02-17 14:35:26 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2020-02-24 10:27:39 +0100 |
commit | 40cb674800e0ba90876e982160c3c5bcd2f0e929 (patch) | |
tree | 7981907ca2f8c288567fc3c89a87b031eb185d68 /src/quick/items/qquicktableview.cpp | |
parent | 130c26023b56469f4274c4c0b039acd20ac3988b (diff) |
Doc: Fix QQuickTableView snippet
Use static registration, provide a .pro file, and make it load and show
the right file.
Change-Id: I949831a399ce00cd8b3d012d8bd4e95a1efcdeb5
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/quick/items/qquicktableview.cpp')
-rw-r--r-- | src/quick/items/qquicktableview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquicktableview.cpp b/src/quick/items/qquicktableview.cpp index 403801b7ae..6124c8304b 100644 --- a/src/quick/items/qquicktableview.cpp +++ b/src/quick/items/qquicktableview.cpp @@ -82,7 +82,7 @@ The following example shows how to create a model from C++ with multiple columns: - \snippet qml/tableview/cpp-tablemodel.cpp 0 + \snippet qml/tableview/cpp-tablemodel.h 0 And then how to use it from QML: |