On Mon, 9 Mar 2009 15:57:46 +0100 (CET), Frédéric <[email protected]> wrote: > Hello, > > I'm switching from ConfigParser to QSettings, and I have a question: > > Do I have to build a QVariant object, or is there a way to just give the > raw param in setValue() method? > >>>> settings.setValue("Dummy", 4) > TypeError: argument 2 of QSettings.setValue() has an invalid type
At the moment you always have to explicitly create QVariants - that will change. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
