diff options
| author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-07-07 12:18:45 +0200 |
|---|---|---|
| committer | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-07-13 11:29:57 +0200 |
| commit | 07b93a82afc22760f87a68fa9926dd316c4a0815 (patch) | |
| tree | 5ca1034e609190e857b46b6ce2e2f8ee7b12424c /sources/pyside6/doc/tutorials/qmlsqlintegration/main.py | |
| parent | 0a935931b529ea2aafcb0415c13a4b8cd0ef6487 (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
