summaryrefslogtreecommitdiff
path: root/examples/webchannel/chatserver-cpp/doc/src/chatserver-cpp.qdoc
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2016-05-25 18:20:30 +0200
committerMilian Wolff <milian.wolff@kdab.com>2016-05-26 09:56:54 +0000
commitbec50124b893c4632829d9806f49f64c4debf936 (patch)
tree90986763724e26b5f0b5df993dda06b3f2086081 /examples/webchannel/chatserver-cpp/doc/src/chatserver-cpp.qdoc
parent97c876a1353f29ed0129360f013f2529bed69d98 (diff)
downloadqtwebchannel-bec50124b893c4632829d9806f49f64c4debf936.tar.gz
Fix setting properties of QJson{Value,Array,Object} type.
Similar to the previous issue, where these types were not properly converted to QVariant when invoking a method, we manually do the conversion now to get the desired behavior. The culprit is again that QJsonValue::toVariant converts an object e.g. to a QVariantMap, and not to a QVariant containing a QJsonObject. [ChangeLog] QObject properties of type QJsonValue, QJsonArray or QJsonObject can now be set via the Qt WebChannel. Task-number: QTBUG-48198 Change-Id: I5d574b1a5cffd6d6ad9b555f2a3e872b9c3425a7 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples/webchannel/chatserver-cpp/doc/src/chatserver-cpp.qdoc')
0 files changed, 0 insertions, 0 deletions