One gotcha with Qsettings is that it will cast everything to a str before storing it. So if you pass 3.14 for some setting, you’ll get “3.14” back.
For that reason, I generally subclass qsettings to pickle/unpickle the values before passing it to super() to store the value -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5e0e209c-d07a-4f86-9f97-cf3c0a83df65%40googlegroups.com.