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

QByteArray::clear() documentation is not consistent with QString::clear()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0
    • 5.4.1
    • Documentation
    • None
    • 65f18ca1defcf5d563462540e20e19b79ca78e29

    Description

      While both functions make their instances null and, therefore also, empty, QByteArray::clear() states that it makes it empty whereas QString::clear() says that it makes it null. The former refers to isEmpty(), the latter to isNull().

      Attachments

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

        Activity

          People

            vertries Nico Vertriest (Inactive)
            ckakman Kayra Akman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes