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

qBound does not work as documented (since Qt 6.3.0)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.3.0
    • Core: Other
    • None
    • All

    Description

      The documentation of qBound says: 'Returns val bounded by min and max. This is equivalent to qMax(min, qMin(val, max))'. But this is not true since Qt 6.3.0: qBound asserts, if min>max.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              wschenke Winfried Schenke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes