<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 15/03/2015 04:23, iMath a écrit :<br>
</div>
<blockquote cite="mid:tencent_5299C039539C464238D0C5C0@qq.com"
type="cite">
<div>for</div>
<div>QString QFileDialog::getExistingDirectory(QWidget * parent =
0, const QString & caption = QString(), const QString &
dir = QString(), Options options = ShowDirsOnly)<span
id="_editor_bookmark_start_2" style="display: none;
line-height: 0px;"></span></div>
<div><br>
</div>
<div>currently , <span style="line-height: 1.5;"> If the user
presses Cancel, it returns </span>a dot(.), I think it should
return <span style="line-height: 1.5;">an empty string or None.</span></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
Which version ?<br>
<br>
With Qt 5.2.1 + PyQt5 5.2.1 I've an empty string.<br>
<br>
Vincent<br>
</body>
</html>