PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 848 - QtGui.QFileDialog.getSaveFileName() returns tuple instead of a string
: QtGui.QFileDialog.getSaveFileName() returns tuple instead of a string
Status: CLOSED DUPLICATE of bug 343
Product: PySide
Classification: Unclassified
Component: QtGui
: HEAD
: PC Linux
: P5 minor
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-05-06 21:52 EEST by Anton Chikin
Modified: 2011-06-22 20:25 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Chikin 2011-05-06 21:52:35 EEST
fname = QtGui.QFileDialog.getSaveFileName()
print fname
(u'/home/username/src/somescript/filename', u'')

While Qt Docs say:
QString    getSaveFileName ( QWidget * parent = 0, const QString & caption =
QString(), const QString & dir = QString(), const QString & filter = QString(),
QString * selectedFilter = 0, Options options = 0 )
Comment 1 Hugo Parente Lima 2011-05-06 22:02:50 EEST
Please read the bug 343, it's about getOpenFileName but the same rules apply to
getSaveFileName.

*** This bug has been marked as a duplicate of bug 343 ***
Comment 2 renato filho 2011-06-22 20:25:23 EEST
release 1.0.4