aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/qmlsqlintegration/main.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-07-07 12:18:45 +0200
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-07-13 11:29:57 +0200
commit07b93a82afc22760f87a68fa9926dd316c4a0815 (patch)
tree5ca1034e609190e857b46b6ce2e2f8ee7b12424c /sources/pyside6/doc/tutorials/qmlsqlintegration/main.py
parent0a935931b529ea2aafcb0415c13a4b8cd0ef6487 (diff)
Add fallback case for QSettings.value
This includes a case where the passed type is not a Python type, so we fallback to a QVariant type as Qt/C++ does. A 'TypeError' is raised if the Python type used is not considered. Added a couple of tests too. Pick-to: 6.1 5.15 Fixes: PYSIDE-1619 Change-Id: I5f2e277bb6ccbf9c3a1b23e79717c11ff7635ce5 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlsqlintegration/main.py')
0 files changed, 0 insertions, 0 deletions