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

Windows: Warning when call QFileDialog::getSaveFileName with a non-existing file preselected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.2.1
    • 5.2.0
    • None
    • Windows
    • b4c28856f16c164a5a774722a379bbe34a45527c (stable, 5.2.1, 8.1.2014)

    Description

      When I call QFileDialog::getSaveFileName I get warning in console:

      QWindowsDialogHelperBase<class QPlatformFileDialogHelper>::nativeDialog invoked with no native dialog present.

      Example:
      QFileDialog::getSaveFileName(this, tr("Save music"), tr("aaaa.wav"));

      When call
      QFileDialog::getSaveFileName(this, tr("Save music"));

      No warning shown.

      Windows 7, MSVC 2010

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            mcoder Konstantin
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes