From 2aac6b3f26690b4d1be94be8f2b556794b022301 Mon Sep 17 00:00:00 2001 From: Qt Submodule Update Bot Date: Wed, 22 Jan 2020 14:00:37 +0100 Subject: Fix build with latest qtbase and qtdeclarative * Bump the submodule to include the one build fix for sqlite3. * Rename VisualDataModel to DelegateModel (it's been the latter for many years and now the old name vanished) * Fix dangling pointers into QList. In clearMapItems() we iterate over m_mapItems and call removeMapItems(), which also removes from the same QList (now vector). The same goes for m_mapItemGroups. Change-Id: I4c229fd2cf1bce76d6ad5ffae4bdbda7fe8e6a18 Reviewed-by: Lars Knoll --- tests/auto/declarative_core/tst_category.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/auto/declarative_core/tst_category.qml') diff --git a/tests/auto/declarative_core/tst_category.qml b/tests/auto/declarative_core/tst_category.qml index 51809dc3..f0a14d6f 100644 --- a/tests/auto/declarative_core/tst_category.qml +++ b/tests/auto/declarative_core/tst_category.qml @@ -27,6 +27,7 @@ ****************************************************************************/ import QtQuick 2.0 +import QtQml.Models 2.14 import QtTest 1.0 import QtLocation 5.3 import "utils.js" as Utils @@ -100,7 +101,7 @@ TestCase { visibility: Place.DeviceVisibility } - VisualDataModel { + DelegateModel { id: categoryModel model: CategoryModel { -- cgit v1.2.1