diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2025-08-27 15:06:43 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2025-09-01 19:25:21 +0200 |
| commit | cc86fb0095b39193c15d1d1992524ec311edc256 (patch) | |
| tree | 4c9dcc5483ecd1092615ddef076a5e98714b3372 /src/qml/jsruntime/qv4sequenceobject.cpp | |
| parent | 706e479e3b7a71f070ef6c05f00143e1842f2ec8 (diff) | |
QtQml: Remove obscure exception check
There is no way we can have produced an exception in
Sequence::virtualPut().
Change-Id: I1f6f4d933b34b9f86c3a9093929815e9071eb61e
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4sequenceobject.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4sequenceobject.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4sequenceobject.cpp b/src/qml/jsruntime/qv4sequenceobject.cpp index d893973b03..7a357babe7 100644 --- a/src/qml/jsruntime/qv4sequenceobject.cpp +++ b/src/qml/jsruntime/qv4sequenceobject.cpp @@ -329,8 +329,6 @@ bool Sequence::virtualPut(Managed *that, PropertyKey id, const Value &value, Val } Heap::Sequence *p = static_cast<Sequence *>(that)->d(); - if (p->internalClass->engine->hasException) - return false; if (p->isReadOnly()) { p->internalClass->engine->throwTypeError( |
