This used to work fine when my PyQt code was in Python v2 syntax. I was using 'QVariant' when saving Boolean values and 'toBool()' when loading them.
Now that I've upgraded my code to Python v3 syntax, 'QVariant' is gone and I possibly shouldn't need to use 'bool()' either. Given that Python wants to receive 'False' when loading Boolean values, why is it saved to the configuration file as 'false'? If this can't be avoided, surely 'QSettings' can be improved to assume that 'false' really means 'False', at least when importing from Linux configuration files. What's your opinion about this idea?
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
