Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39769

QFileDialog::getSaveFileUrl(),return not empty url but empty path when press cancel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • 5.3.1
    • 5.3.0
    • None
    • win7 + vs2013 + QT5.3.0

      static function
      QUrl QFileDialog::getSaveFileUrl(QWidget * parent = 0, const QString & caption = QString(), const QUrl & dir = QUrl(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0, const QStringList & supportedSchemes = QStringList()) [static]

      when press cancel button, an empty path of url will be retrun. but, this is be described in Qt 5.3.0 Reference Documentation as follow:
      This is a convenience static function that returns a file selected by the user. The file does not have to exist. If the user presses Cancel, it returns an empty url.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            w00t Robin Burchell
            fisher NieQiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes