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

QFileSystemModel: mistake in the doc about filePath()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.4.0 RC
    • 5.3.2
    • Documentation
    • None

      In the detailled description of the class QFileSystemModel, there is this sentence:

      "The fileInfo(), isDir(), name(), and path() functions provide information about the underlying files and directories related to items in the model."

      The method path() does not exists in QFileSystemModel. It is rather the method filePath(). Due to this mistake, the link on path() redirect to a QML related page.

        For Gerrit Dashboard: QTBUG-41881
        # Subject Branch Project Status CR V

            docteam Qt Documentation Team
            vinorcola Kévin PERAIS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes