[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] PyQt5 QSettings return differents value type
From:       Shyne <shyne69 () gmail ! com>
Date:       2019-11-07 16:58:26
Message-ID: 1573145906099-0.post () n6 ! nabble ! com
[Download RAW message or body]

Hello,

I have a strange problem with QSettings with a qml application :

I store switchs states in a setting file. From python side when I get the
initial value that give me a string ("true" or "false").
Ok why not.

But after that, when I change the state of the switch QSettings return
always a bool??!

Does anyone know why the first request return a string?

Thanks.




--
Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic