[PyQt] [BUG] QFileDialog::​getExistingDirectory() returns a dot(.) when canceled

iMath 2281570025 at qq.com
Sun Mar 15 03:23:37 GMT 2015


for
QString QFileDialog::​getExistingDirectory(QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), Options options = ShowDirsOnly)‍


currently ,  If the user presses Cancel, it returns a dot(.), I think it should return an empty string or None.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150315/e636e8f4/attachment.html>


More information about the PyQt mailing list