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

QFile::moveToTrash() description incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.6.3
    • Documentation
    • None
    • All
    • DaVinci 96, DaVinci 97

    Description

      There is

      QFile::moveToTrash(const QString &fileName, QString *pathInTrash = nullptr)

      Doc says

      Moves the file specified by fileName() to the trash.

      I think mistake exists in description. Similar method uses fileName(), but static method use fileName argument not fileName() method!

      Attachments

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

        Activity

          People

            andreas.eliasson Andreas Eliasson
            dungeonlords Andrei Cherniaev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change