aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickwindow.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-05-11 17:19:14 +0200
committerJani Heikkinen <jani.heikkinen@qt.io>2017-05-19 08:44:15 +0000
commit5f49b2b3bb30678a26341e1f45e0cfd6a6fd2c57 (patch)
tree401948a4e6ba81d01860da5f2e57150412e72128 /src/quick/items/qquickwindow.cpp
parent6a02fb09af8dce6ca533e816d2223e070b30f294 (diff)
QML Settings: fix JS array handling
Before Qt 5.4, JS arrays were passed as QVariantLists. Since Qt 5.4, they are passed as QJSValues instead. Use QJSValue::toVariant() (the same way as QQuickItemView::setModel(QVariant) which was fixed in cf959b4b) to convert JS values to QSettings-compatible variants. Task-number: QTBUG-45316 Change-Id: Icc6f8ad09bfef089d9efcf5b90e3783bb3f73a9f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/quick/items/qquickwindow.cpp')
0 files changed, 0 insertions, 0 deletions