From 1cc99b996a9f158c39692892cea0e5ef8c3137d5 Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Wed, 24 Apr 2024 10:51:42 +0200 Subject: [PATCH] QmlDesigner: remove useless code That was submitted by accident Change-Id: Ie5606604295ec2e942548690a77c3855f7614a9f Reviewed-by: Reviewed-by: Qt CI Patch Build Bot Reviewed-by: Tim Jenssen --- .../designercore/projectstorage/projectstorage.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/plugins/qmldesigner/designercore/projectstorage/projectstorage.cpp b/src/plugins/qmldesigner/designercore/projectstorage/projectstorage.cpp index a7577d3ab77..8aa162224ed 100644 --- a/src/plugins/qmldesigner/designercore/projectstorage/projectstorage.cpp +++ b/src/plugins/qmldesigner/designercore/projectstorage/projectstorage.cpp @@ -2277,12 +2277,6 @@ void ProjectStorage::updateTypeIdInTypeAnnotations(Storage::Synchronization::Typ annotation.typeName); } - for (auto &annotation : typeAnnotations) { - if (!annotation.typeId) - qWarning() << moduleName(annotation.moduleId).toQString() - << annotation.typeName.toQString(); - } - typeAnnotations.erase(std::remove_if(typeAnnotations.begin(), typeAnnotations.end(), [](const auto &annotation) { return !annotation.typeId; }),