Commit Graph
8 Commits
Author SHA1 Message Date
outfoxxed d9cbc90a8c io/fileview: fix swapped new/old branch in JsonAdapter deserialize 2026-08-15 14:44:52 -07:00
outfoxxed 49d4f46cf1 io/fileview: handle deserialization to list<T> properties 2026-04-04 13:05:33 -07:00
outfoxxed 9b98d10178 io/fileview: try to convert values to json before handling sequences
The previous code was interpreting a string as a list of characters
and therefore a sequence.
2026-04-04 12:28:40 -07:00
outfoxxed 854088c48c io/fileview: convert containers to QVariantList/Map before serialize
QJsonValue::fromVariant doesn't do this automatically for some reason.
2026-04-04 02:06:22 -07:00
outfoxxed ceac3c6cfa 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.
2026-04-03 21:36:02 -07:00
outfoxxed aaff22f4b0 io/fileview: write values into correct JsonObjects in deserialize
Property writes were being done on the JsonAdapter and not the child
JsonObject, resulting in the data of children being set on the
adapter's props, and occasional crashes.
2026-04-03 21:35:11 -07:00
outfoxxed 1d94144976 all: fix lints 2025-09-28 23:56:32 -07:00
outfoxxed fee4942771 io/fileview: add adapter support and JsonAdapter 2025-05-16 20:01:38 -07:00