forked from qt-creator/qt-creator
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:
@@ -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; }),
|
||||
|
Reference in New Issue
Block a user