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

FolderListModel needs to have API review, fix some API warts and be a maintained API instead of Qt.labs

    XMLWordPrintable

Details

    Description

      Some obvious warts are

      • it uses QUrl for folder, rootFolder and parentFolder properties but the paths returned from the model are string paths, not QUrls.
      • rootFolder and parentFolder properties are undocumented
      • folder property is a QUrl but the doc says it's a string

      The FileDialog provides URLs, and since the QML implementation uses FolderListModel, it needs to make the conversions itself. So that will need to be fixed at the same time.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes