io/fileview: use QVariant when QJSValue cast fails in adapter prop read

A QVariant(QVariantMap) does not convert implicitly to a
QVaraint(QJSValue), causing extra signals to be emitted if the old
value was not updated by js (replaced by a QJSValue) before
deserializing again.
This commit is contained in:
outfoxxed 2026-04-03 21:30:05 -07:00
parent aaff22f4b0
commit ceac3c6cfa
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
2 changed files with 7 additions and 4 deletions

View file

@ -67,6 +67,7 @@ set shell id.
- Fixed HyprlandFocusGrab crashing if windows were destroyed after being passed to it.
- Fixed ScreencopyView pixelation when scaled.
- Fixed JsonAdapter crashing and providing bad data on read when using JsonObject.
- Fixed JsonAdapter sending unnecessary property changes for primitive values.
## Packaging Changes