-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 16 November 2001 19:45, Phil Thompson wrote: > Boudewijn Rempt wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > I think I must have missed something, somewhere - is it a PyQt > > or a Qt decision to no longer accept None for an empty QString, > > for instance in > > > > fileName = QFileDialog.getOpenFileName(None, None, self) > > > > vs. > > > > fileName = QFileDialog.getOpenFileName(QString(), QString(), self) > > PyQt decision, but not intentional. Strictly I think you should use... > > fileName = QFileDialog.getOpenFileName(QString.null, QString.null, > self) > > ...but because... > > fileName = QFileDialog::getOpenFileName(0, 0, this); > > ...works in C++ I'll restore the behaviour for the final release of PyQt > v3.0. >
Thanks! The ****** book is going to the printer any day now, and I was afraid I had to stop the presses to get this change in... It happens in a lot of places, and I would have to rework large amounts of code. - -- Boudewijn Rempt | http://www.valdyas.org public key at: certserver.pgp.com or pki.surfnet.nl -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE79W1iN8fj6DnPxOgRAqknAJ9A8ffUQzE7u1qyom/oL2yQtOmtbACeIoao av6Sj4i1Kd/+hNjDA/WGTxk= =H4/J -----END PGP SIGNATURE----- _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde
