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

Explain that QIODevice::readAll() only reads remaining data, not all data

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Some future release
    • 5.4.0
    • Documentation
    • None

    Description

      It is not clear from the documentation of QIODevice::readAll() that it only reads the remaining data, so that if you have already read some data from a file you need to seek(0) first to get everything.

      Attachments

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

        Activity

          People

            vertries Nico Vertriest (Inactive)
            sandsmark Martin Sandsmark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes