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

QIODevice read, readLine, readAll could report errors through optional bool* or lambda

XMLWordPrintable

      These functions cannot report errors currently:
      http://doc.qt.io/qt-5/qiodevice.html#read-1
      http://doc.qt.io/qt-5/qiodevice.html#readAll
      http://doc.qt.io/qt-5/qiodevice.html#readLine-1

      However additional bool* parameter or even a lambda callback function could be used to signal these.

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

            Unassigned Unassigned
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes