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

Change the values of QDirModel::FileNameRole and QDirModel::FilePathRole to be less than Qt::UserRole

    XMLWordPrintable

Details

    Description

      The documentation states that Qt::UserRole (32) is "The first role that can be used for application-specific purposes". This implies that all roles after this value are also reserved for user applications. However, this is not true if the user is using QDirModel because it uses two enumeration values that are currently inside this reserved range; QDirModel::FilePathRole and QDirModel::FileNameRole. If possible, these two should have their values changed to something less than 32.

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            jabarron Jason Barron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes