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

QFile::moveToTrash() description incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.7.2, 6.8.0 FF
    • 6.6.3
    • Documentation
    • None
    • All
    • 71bc95187 (dev), 16d95b95a (6.7)
    • 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

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes