Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0
-
None
-
d915432c23177a5d7f9ffd0d6899aab13ddc4c2b (stable,7.5.2014, 5.3.1)
Description
In `QFileDialog::getOpenFileUrl`, `QFileDialog::getOpenFileUrls`, `QFileDialog::getSaveFileUrl`, and `QFileDialog::getExistingDirectoryUrl`, a local file path from the related local file equivalents are passed directly to QUrl::fromLocalPath. Unfortunately, this won't work, because an empty string will convert to `file:///`.
(I'm not sure to put for component here, so I picked one of the GUI components largely arbitrarily.)
Attachments
Issue Links
- replaces
-
QTBUG-39769 QFileDialog::getSaveFileUrl(),return not empty url but empty path when press cancel
-
- Closed
-
For Gerrit Dashboard: QTBUG-38672 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
84738,2 | QFileDialog: Return empty QUrl from the static get..FileUrl() functions. | stable | qt/qtbase | Status: MERGED | +2 | 0 |