[PyQt] Bug in QFileDialog.getSaveFileName

2011-03-01 Thread Martin Teichmann
Hello Phil, Hello List,

Just a little bug report:

the following small script raises a TypeError, unexpectedly so.
Tested under Windows PyQt4 Version 4.8.3.

import sip
sip.setapi(QString, 2) # this line important
from PyQt4 import QtGui
app = QtGui.QApplication([])
QtGui.QFileDialog.getSaveFileName(None, , , , )

Greetings

Martin

-- 
Max-Born-Institut
Max-Born-Stra├če 2a
12489 Berlin
+49 30 6392 1234
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Bug in QFileDialog.getSaveFileName

2011-03-01 Thread Phil Thompson
On Tue, 1 Mar 2011 15:02:57 +0100, Martin Teichmann
martin.teichm...@mbi-berlin.de wrote:
 Hello Phil, Hello List,
 
 Just a little bug report:
 
 the following small script raises a TypeError, unexpectedly so.
 Tested under Windows PyQt4 Version 4.8.3.
 
 import sip
 sip.setapi(QString, 2) # this line important
 from PyQt4 import QtGui
 app = QtGui.QApplication([])
 QtGui.QFileDialog.getSaveFileName(None, , , , )
 
 Greetings
 
 Martin

See...

http://www.riverbankcomputing.com/static/Docs/PyQt4/html/python_v3.html#qfiledialog

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt