diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2018-10-04 10:23:23 +0200 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@qt.io> | 2018-10-04 08:28:18 +0000 |
commit | c8bc5e9eb8e8705e820ca59bd1e70b59a1e840c1 (patch) | |
tree | 52416aa4f15fdac51b56cddf26b5dea9d0640621 /examples/tutorials/alarms/main.qml | |
parent | 12280c1b0da0cc4a22238adeb62459299a897749 (diff) |
Doc: Correct bug when deleting alarm
qrc:/AlarmDelegate.qml:139: ReferenceError: alarmModel is not defined
Change-Id: Id92b377375006e08d25a593b6532a5eaeb5b35a0
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples/tutorials/alarms/main.qml')
-rw-r--r-- | examples/tutorials/alarms/main.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tutorials/alarms/main.qml b/examples/tutorials/alarms/main.qml index acd541687..225fd3ec1 100644 --- a/examples/tutorials/alarms/main.qml +++ b/examples/tutorials/alarms/main.qml @@ -64,7 +64,7 @@ ApplicationWindow { ListView { id: alarmListView anchors.fill: parent - model: AlarmModel {} + model: AlarmModel { id: alarmModel } delegate: AlarmDelegate {} } |