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>
This commit is contained in:
Marco Bubke
2024-04-24 10:51:42 +02:00
parent 4268c50f30
commit 1cc99b996a

View File

@@ -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; }),