aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2024-04-24 10:51:42 +0200
committerMarco Bubke <marco.bubke@qt.io>2024-04-25 12:46:36 +0000
commit1cc99b996a9f158c39692892cea0e5ef8c3137d5 (patch)
tree62ecb119a40c02c698117660fa2741720f131aa8
parent4268c50f30c8b160d135d966c998a84b552cbaf7 (diff)
QmlDesigner: remove useless code
That was submitted by accident Change-Id: Ie5606604295ec2e942548690a77c3855f7614a9f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r--src/plugins/qmldesigner/designercore/projectstorage/projectstorage.cpp6
1 files changed, 0 insertions, 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; }),